Opps did you remember to give you #header a position fixed?


#1



Fixing your header.


opps did you remember to give your #header a position of fixed?


Replace this line with your code. 
<img src="//codecademy-discourse.s3.amazonaws.com/original/4X/d/9/1/d915c9340a6b64f6c79e2c73887fc120e1ffdcff.PNG" width="673" height="500">


#2

Hello all,

Yes I am stuck. Their might be a bug or I am making a silly mistake. I have been starring at my code for around 45 mins now and I can't seem to figure this out.

PLEASE HELP.


#3

Hi,

Adding position to an id you do it in your CSS file,
So could I see your CSS code please.


#4

#id header {
    border-radius:10px;
    height:10px;
    width:5px;
    background-color:10px;
    position:fixed;
    z-index:1;
    
}
#id footer {
    border-radius:5px;
    height:10px;
    width:10px;
    background-color:blue;
}
.class right {
    border-radius:5px;
    height:40px;
    width:20px;
    background-color:green; 
}
.class left {
    border-radius:5px;
    height:5px;
    width:5px;
    background-color:black; 
}

#5

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title></title>
	</head>
	<body>
	<div class="left"></div>
	<div class="right"></div>
	<div id="footer"></div>
	<div id="header"></div>
	</body>
</html>

#6

you have #id header
You just need #header

The same with all your other elements

for class you select .left ect

You just need the symbol and name


#7

Omg thank you so much!! you have saved me!!


#8