strange IE float: left problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vytas
    New Member
    • Oct 2007
    • 16

    strange IE float: left problem

    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">asdasdsda sdasdasd1</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:


    how can I fix it?
Working...