Quick centering layout question
I have a quick question that I thought might be more efficient to just post then to Google...
I'm reading a CSS book, and in an example the author shows how to bypass the traditional "container" div to center the layout. His solution: text align: center the html selector, and set body selector margin to: 0 auto, and set a 770 width. I get the body rule, im just uncertain why i have to text align center the html selector?? It seems redundant to me, but it could be my newbie-ness. To me, the browser results look the same with or without this rule applied. Any thoughts? Thanks!
--- example ---
margin: 0 auto;
One is for IE and related engine driven browsers. The other for all the other good browsers. :P
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)