Fixing your header: header disappears

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?

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;


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

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