Need header "fixed" so page scrolls behind header

Discussion in 'HTML & Website Design' started by netmuve, Nov 10, 2012.

  1. #1
    It really is simple. Mostly some css tweaking i believe.

    I need the webpage header totally "fixed" in place so the webpage scrolls BEHIND the menu and header. Dont quote me too much money on this, because it is a small project and mostly just some css twqeaking.
     
    netmuve, Nov 10, 2012 IP
  2. Pixel T.

    Pixel T. Well-Known Member

    Messages:
    1,205
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    170
    #2
    Are you looking for something like this?

    
    #header
    {
        position: fixed;
        top: 0;
        left: 0;
        height: 160px;
    }
    
    Code (markup):
    Let me know if it works for you.
     
    Pixel T., Nov 10, 2012 IP
  3. netmuve

    netmuve Member

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3

    Something like that. Actually i just figured it out on my own... with a lot of trial and error. Thanx
     
    netmuve, Nov 10, 2012 IP