Fixing my header. It keeps disappearing when i put fixed for position


#1

https://www.codecademy.com/en/courses/web-beginner-en-9x6JW-WnAFv/0/4?curriculum_id=50579fb998b470000202dc8b


i can make my header come back if i position it inline but the lesson wants it fixed and it disappears after its fixed. what do i do?!?!


#header { 
    z-index: 1;
    position: fixed;
    height: 60px;
    background-color: #00ccff;
    margin-top: -20px;
    margin-bottom: 10px;

}


#2

Have a look at this topic it will answer your question but its coming up in the lessons still :slight_smile:


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.