Problem with table's width

  •  11-29-2007, 3:04 AM

    Problem with table's width

     
    I have two tables
     - The first have width : 1008px
     - The second have two columns, width: 504px per column (504px + 504px = 1008px)
    But they haven't a same displayed width in CE.
     
    Try the code below.
     
    <table id="printHeader" style="margin-left: 0px; width: 1008px; margin-right: 0px; border-collapse: collapse" cellspacing="0" cellpadding="0" border="0">
        <tbody>
            <tr>
                <td valign="top" width="100%">
                 AAAAAAAAAAAA <br>
      BBBBBBBBBBBB <br>
                </td>
            </tr>
        </tbody>
    </table>
     
    <table id="printContent" style="margin-left: 0px; margin-right: 0px; border-collapse: collapse" cellspacing="0" cellpadding="0" border="0">
        <tbody>
            <tr>
                <td valign="top" width="504px">
                        ABC   <br>
                        NBCD <br>
                        MNBC <br>
                </td>
               <td valign="top" width="504px">
                        NBCD     <br>
                        MNBVCD <br>
                        JNBGVF   <br>
               </td>
            </tr>
        </tbody>
    </table>
View Complete Thread