5. Floating left and right


#1

So I saw some other posts about how float:left/right doesn't work with position:fixed. So, I removed position:fixed. I'm still getting "Oops, try again. Did you remember to float .right to the right?"

header {

border-radius: 5px;
font:Courier;
border: 10px;
border-color: #FF0000;
z-index:1;

}
.left {
border-radius: 5px;
font:Courier;
border: 10px;
border-color: #FF0000;
float:left;
}
.right {
border-radius: 5px;
font: Courier;
border: 10px;
border-color: #FF0000
float:right;
}

footer {

border-radius: 5px;
font: Courier;
border: 10px;
border-color: #FF0000

}
div {
height:10px;
width:20px;
background-color: #EEF3E2;
}


#2

float does indeed not work position fixed, the other problem in this code, is that you miss a semi-colon after border-color: #FF0000, just above float: right


#3

Wow, I can't believe that I missed that. That fixed it, thank you.


#4

I can't believe . thanks very much