Skip to content Skip to sidebar Skip to footer

Position Fixed Elements

i am really stucked with a little issue in HTML5. I am just trying to positionate a fixed element, I have a jpg as a header and inmediately below I have a div called menu which con

Solution 1:

You need to add, please beware if you don't add the z-index then the content will overlap the header with your code.

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

Check the the updated fiddle

Demo

Post a Comment for "Position Fixed Elements"