Floating


#1

Hi guys,
I have my code correct for floating, but it keeps saying I have an error.

.left{
margin-top: 60px;
position: fixed;
height: 700px;
width: 20%;
margin-left: 1px;
background-color: darkblue;
margin-bottom: 10px;
float: left;
}
.right{
float: right;
position: relative;
margin-top: 60px;
margin-right: 1px;
height: 700px;
width: 79%;
background-color: lightblue;
margin-bottom: 10px;
}


#2

float doesn't work on elements with position: fixed or position: absolute;


#3

how i just copied his whole text and it worked for me