If you look at my site http://www.moeseo.com/ the entire blog is pushed off to the left. I want it to be in the middle of the browser. Any ideas?
Nevermind I figured it out. I added a margin-left:auto; HTML: and margin-right:auto; HTML: to the div id "wrapper" in the css.
Never mind I figured it out. I added a margin-left:auto; Code (markup): and margin-right:auto; Code (markup): to the div id "wrapper" in the css.
It's a good practice to add a CSS: body { text-align:center } #wrapper { margin: 0 auto; text-align:left } Code (markup): It's a cross-browser fix.
Do we really need to keep using that text-align trick now? I think it only applies for IE6 in quirks mode and also lesser IE versions. As long as the page has a doctype that keeps IE6 in standards mode, why bother using that trick?
in html <html> <body> <div id="wrapper">your content here</div> Code (markup): to make sure, add these css to #wrapper border:1px solid #333333; width:600px;