468,135 Members | 1,455 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,135 developers. It's quick & easy.

strange IE float: left problem

16
hi,

I've just ran into very strange IE behaviour. I have a table with some content:

[HTML]<table width="200" border="1">
<tr>
<td width="50%">
<div class="bord" style="float: left">asdasdsdasdasdasd1</div>
<div class="bord" style="float: left">asdasd</div>
</td>
<td width="50%">
<div style="float: left; border: solid 1px Red;">asas asdasd asdasd</div>
</td>
</tr>
</table>[/HTML]

as you can imagine, browser should expand first column to fit content. and IE does, but if I refresh page - first cell is not expanded. you can test it here:
http://www.dxlxb.com/vz/test2.html

how can I fix it?
Oct 10 '07 #1
0 1036

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.