Here is my codes. I can’t solve why id=right is little bit lower? How can i solve?
My css codes:
#container
{
width:70%;
margin:0 auto;
}
body
{
text-align: center;
background-color:#708090;
}
#left
{
float:left;
}
#content
{
}
#right
{
float:right;
}
right div’s value is only float:right.
Put the
<div id="right">before the<div id="left">or before<div id="content">and it works fine:http://jsfiddle.net/24xqX/1/