Fixing your header: header disappears


#1

My header disappears whenever I add position: fixed; and it comes back when I remove it!
Can anyone tell me why it's doing that?


#2

define doing wrong, when your #header is not fixed, it will inherit width from it's parent (body), when the #header is fixed it is out of flow, and can't inherit. Add a width to your #header, and it should show with position: fixed;


#3

Here is my printscreen of my code. I can't get this to work at all


#4

your div css selector is missing a closing curly bracket (})