Help with floating on resume?


#1

I thought everything was right, but I keep getting an error message for floating... Help?

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

CSS=

div {
height: 20px;
width: 40px;
background-color: gray;
border-radius: 5px;
border: solid 1px gray;
display: inline;
position: fixed;
z-index: 1;
}
.left {
float: left;
}
.right {
 float: right;
}

#2

float doesn't work on a div with position: fixed;