Fixing your header


#1

.left{
border-radius: 5px;
color: green;
background-color: red;
height: 50px;
width: 50px;
position: absolute;
}

.right{
border-radius: 5px;
color: green;
background-color: red;
height: 50px;
width: 50px;
position: absolute;
}

#footer{
border-radius: 5px;
color: green;
background-color: green;
height: 50px;
width: 50px;
margin: 50px 50px 0px 0;
position: relative;
}

#header{
border-radius: 5px;
color: green; 
background-color: green;
height: 50px;
width: 50px;
margin: 50px 50px 0px 0;
position: fixed;
z-index=1;
    }

I got the message: Oops, try again. Did you remember to set your #header's z-index to 1?


#2

instead of = ,it should be a colon : ?

another thing to note..
I have applied this style on html and its not well structured!
(review the exercises and go through them again by following instruction)


#3

I fixed it!
Thanks a lot


#4

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