Welcome to WebDesignForums.net!
You're currently viewing WDF as a guest. By registering for a free account, you'll be able to participate with other members in our friendly community. Being a member allows you to ask questions and get answers for those troublesome web development tasks!

In addition, as a member you'll be able to post your websites up for review. Using our unique website review system you can gain some amazing feedback from some of the best web developers around. This is a completely free service to all registered members.

Ready to register yet? Registration is 100% free. Click Here To Join Now!

Fixed Navigation problems

Discussion in 'HTML and CSS Help' started by Andrew Yurlov, Mar 13, 2012.

  1. Offline

    Andrew Yurlov Well-Known Member

    Message Count:
    1,034
    Likes Received:
    93
    Trophy Points:
    48
    Gender:
    Male
    I cant seem to make my navigation fixed on the top. I tried to put position: fixed; on anything that has to do with navigation or header but nothing makes it stay fixed. Any idea on how to achieve this?


  2. Offline

    David Elliott New Member

    Message Count:
    27
    Likes Received:
    9
    Trophy Points:
    3
    Gender:
    Male
    Location:
    Canton, OH
    Do you have your source code? position:fixed; should work... it should at least be fixed somewhere on the page. Did you set the top:0;?


  3. Offline

    Andrew Yurlov Well-Known Member

    Message Count:
    1,034
    Likes Received:
    93
    Trophy Points:
    48
    Gender:
    Male
    I just fixed. It turns out I had to have a z-index because it was hiding behind my content.


  4. Offline

    David Elliott New Member

    Message Count:
    27
    Likes Received:
    9
    Trophy Points:
    3
    Gender:
    Male
    Location:
    Canton, OH
    Oh yes, the infamous z-index. Good call.


Share This Page