Keeping a masthead and navigation div stationary while the content scrolls ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jeffreycoontz
    New Member
    • May 2014
    • 11

    Keeping a masthead and navigation div stationary while the content scrolls ?

    When I use background-attachment: fixed on my body background, the background stays fixed.

    Now I want to keep my top headers and navigation fixed as well. I use the position:fixed: property in CSS.

    When I do this on multiple divs, one after another, at the top, wierd stuff happens. the wrapper goes out of wack and the header divs go vertically out of wack.

    Can you use the position: fixed; on consecutive divs at the top of a page?

    I will provide code if needed, but it is customer code.

    Please reply ASAP. Thanks.
  • airborn8
    New Member
    • May 2014
    • 1

    #2
    what type of structure is that

    Comment

    Working...