Serious issue with nested table's style in Mozilla & Safari

  •  11-10-2008, 4:41 AM

    Serious issue with nested table's style in Mozilla & Safari

     
    Hi Ken,
     
    We are facing a serious issue with the style in the parent table get replicated to child table whenever we edit the HTML. As our HTML is like:
    <TABLE width="590" border="0" align="center" cellpadding="0" cellspacing="0" style="border:black 1px solid; background-color:#FFFFFF" xmlns:msxsl="urn:schemas-microsoft-com:xslt">   ----> with style(Parent table)
      <TR>
        <TD>
         
    <TABLE cellSpacing="0" cellPadding="0" width="590">    ----> without style (child table)
            <TR width="100%">
              <TD>Test</TD>
            </TR>

    After edit something or switching to normal to html mode in editor, the HTML is:


    <table style="border: 1px solid black; background-color: #ffffff;" xmlns:msxsl="urn:schemas-microsoft-com:xslt" align="center" border="0" cellpadding="0" cellspacing="0" width="590">
    <tbody>
    <tr>
    <td>
    <table style="border: 1px solid black;" cellpadding="0" cellspacing="0" width="590">  --> Parent Style got added by HTML editor
    <tbody>
    <tr width="100%">
     
    I have verify this issue with your demo on the site itself and it also behaves the same way. The above behaviour makes our default templates view very bad by adding border to inner table too. 
    Please provide us some solution as soon as posible as our clients are complaining most for this issue.
     
    Thanks
     
     
View Complete Thread