Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Works in IE but not Firefox – Header and Nav Align (SOLVED)

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24032
    emtowns
    Participant

    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.

    #53497
    Rob MacKay
    Participant

    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 :)

    #53499
    emtowns
    Participant

    Thanks Rob, worked like a charm, such a simple thing driving me nuts! Appreciate it!

    #53500
    Rob MacKay
    Participant
    "emtowns" wrote:
    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 :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.