Man I hate microsoft! Ok, this should be so simple. One division containing 3 other divisions. The container division is 798px wide. The left division is 162 wide as is the right. I haven't even inserted the middle yet. The left floats left and the right floats right. When I put them up there in firefox it does exactly as one would expect. In IE??? It displays the left division properly, but drops the right division down below the left before aligning it to the right. The result is that I have stuff on the left, then a whole bunch of blank space, then below that I have more blank space and stuff on the right. Please, anyone, any ideas???
The CSS...
and the html
The CSS...
Code:
#big
{
margin-top: 6px;
width: 798px;
height: auto;
text-align: left;
}
#leftbox
{
margin-top: 1px;
width: 152px;
height: auto;
margin-left: 5px;
margin-right: 5px;
float: left;
}
#rightbox
{
margin-top: 1px;
width: 152px;
height: auto;
margin-left: 5px;
margin-right: 5px;
float: right;
}
and the html
Code:
<div id="big"
<div id="leftbox">
<table width="150" border="1" cellpadding="0" cellspacing="0" >
<tr>
<td width="150" height="150"> </td>
</tr>
<tr>
<td width="150" height="150"> </td>
</tr>
<tr>
<td width="150" height="150"> </td>
</tr>
<tr>
<td width="150" height="150"> </td>
</tr>
</table>
</div>
<div id="rightbox">
<table width="150" border="1" cellpadding="0" cellspacing="0" >
<tr>
<td width="150" height="150"> </td>
</tr>
<tr>
<td width="150" height="150"> </td>
</tr>
<tr>
<td width="150" height="150"> </td>
</tr>
<tr>
<td width="150" height="150"> </td>
</tr>
</table>
</div>
</div>