empty cells rendering error in IE 6 & 7.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • malekviper
    New Member
    • Nov 2006
    • 1

    empty cells rendering error in IE 6 & 7.

    Code:
    <table border="0" cellpadding="0" cellspacing="0">
    <tr>
               <td style="background-color: fuchsia">cellule1</td>
    </tr>
    <tr>    <td></td>
    </tr>
    <tr>    <td style="background-color: fuchsia">cellule 1</td>
    </tr>
    </table>


    IE render an empty cell as an 1px height cell,
    with firefox everything is ok,
    please, Is there a solution (other than display:none;), thankx.
  • epots9
    Recognized Expert Top Contributor
    • May 2007
    • 1352

    #2
    try this:
    [code=html]
    <table border="0" cellpadding="0" >
    <tr>
    <td style="backgrou nd-color: fuchsia; border-spacing:0px;">c ellule1</td>
    </tr>
    <tr> <td></td>
    </tr>
    <tr> <td style="backgrou nd-color: fuchsia; border-spacing:0px;">c ellule 1</td>
    </tr>
    </table>
    [/code]

    tell us how it goes,
    good luck

    Comment

    Working...