Quote:
|
1.I have used the wc3 schools code validation tool and it says not "xhtml transitional", I put in a few major websites and according to the wc3 they all have multiple errors?
|
What 'major' websites ?? The W3C validator is far from perfect, but 'major' websites are not necessarily the best example of valid code. Sad to say, but all too true.
Quote:
|
2.How the hell do I center my site? When ever I try With css, i can get it in the center, but not make it expand down when the browser's width is pulled in.
|
To center using CSS you have to do 2 things:
1 - add text-align: center to the body to force IE to center
2 - add margin: 0 auto; to the container you want to center and also add text-align:left to that same container to put your text inside it back where it belongs.
That method requires that the container or "wrapper" that you want to center holds ALL of the content for your site AND that it has a defined width.
This method is not going to force a vertical stretch, for that you must use percentages or em units for widths on everything, and even that won't guarantee that divs won't reposition underneath each other.
Quote:
|
3. It seems that when I came back to design everyone was against tables. My site uses 95% css and a few tables just because old habits die hard and I don't know how to make divs do anything I want yet. Am I going to get **** from purists for using tables at all?
|
Well, I'm one of those purists  . Tables for layout should NOT be used, they were never meant for layout, but in the old days that's all we had to control our layouts. Tables still have their place for TABULAR DATA.
For converting to table-less layouts, I highly recommend this book:
http://www.sitepoint.com/books/css2/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|