WordPress.org

Ready to get started?Download WordPress

Forums

CSS Nav Bar Problem (5 posts)

  1. Chaplin
    Member
    Posted 9 years ago #

    Hey guys, I'm redesigning the site and updating to the newest alpha.
    In the process I'm having some difficulty placing the CSS nav bar correctly. In IE it works fine (positioned in the very top right of your screen), but in FireFox it gets hung up on its way there.
    Any ideas?

  2. JeffM
    Member
    Posted 9 years ago #

    Check out this site. It has information about the broken box model which sounds like what you are dealing with.
    http://www.sitepoint.com/forums/showthread.php?t=171943

  3. Chaplin
    Member
    Posted 9 years ago #

    I gave it a read, not sure how it applies. The nav bar is intact in IE and in the correct position - the problem is Firefox. I've placed the navcontainer div right after the body tag - but it seem sto get hung up on the container tag instead (perhaps?)

  4. Joshua Sigar
    Member
    Posted 9 years ago #

    I read somewhere that it's a firefox's bug, if I'm not mistaken.
    The following is another approach that you might want to try. Simply add the following to your CSS file

    #navcontainer {
    position: absolute;
    top: 0;
    right: 0;
    }
    #navcontainer ul {
    margin: 0;
    }

  5. Chaplin
    Member
    Posted 9 years ago #

    You are my hero. Works great, thankyou!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.