- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
So I am an admitted noob to all this but thought I had followed everything the way I should, however on the site I am building I can not get the nav bar and header to align properly to the center. The header works just fine but the nav bar does not while it is wrapped in the main div as well. It appears to be fine in IE7 but not Firefox and can not figure it out worth a darn. Any help would be much appreciated.
http://feelinganxiouspr.com/site/testing/
Thanks.
add
padding:0;
to your ul#nav (or your * selector at the start of your style sheet)
its probably picking up a default padding from the browser because at the top your universal selector " * " has only reset the margin and not the padding :)
Thanks Rob, worked like a charm, such a simple thing driving me nuts! Appreciate it!
No worries :) funny its always the simple things too – its amazing how a fresh pair of eyes can help :)