Oops, try again. Did you remember to float .left to the left?


#1


#2

if you edit/update your question, leave a reply so i get a notification. Your code is not visible, take the following steps to make it visible:

Where is your css code? this error indicates a css problem. please post all css code


#3


#4

I want to run the code, can you copy paste your css code to the forum? no need to format, css will code will survive that


#5

div{
border-radius:5px;
height:100px;
width:100px;
background-color:lightgreen;
position:fixed;
z-index:1;
}
.left{
float:Left;}
.right{
float:Right;}


#6

sorry, should have checked for that. inside your div you have position: fixed; when using position: fixed, float won't work