Trying to center my nav bar and having a really, really difficult time. It's pushed to the left just the slightest bit and any attempts to center it make the links "stack" on top of each other. It's the most frustrating thing! Could anyone help? http://115media.net/style.css is the stylesheet. Thank you
The reason it looks nudged to the left is because the heading below it is nudged to the right. Remove margin-left:7px; from line the following on line 179 of your stylesheet: .post h2, .post h2 a { color: #333333; display: block; font-size: 54px; font-weight: bold; letter-spacing: -1px; margin-left: 7px; } Code (markup): Also, remove all of the inline styles and put the class back into your navigation DIV the way it was before.
Sorry on the nav class. You are using Html5 elements, in a mostly non-Html5 world. If you want to use them, then you will still have to serve up Html4 pages for the rest of us. Suggest that you change <nav> to <div class="nav"> and style appropriately from there.
It looks like you are using a "grid" layout. Where is your stylesheet for that? Your <head> says the stylesheet is at css/960.css, but that is getting a 404 error not found.
Now THAT solution is the ugliest and wrongest ever! Never use text-align to align a block! In that case use an ID or CLASS and use width with margin:0 auto But as I can see here is something generally wrong (404 for 960.css).
I got the layout stacked properly again and removed the line "margin-left: 7px;" and renamed it simply <div> However, it's still not working - any ideas?