Table Style Border Attribute Stripped From Code

  •  03-27-2009, 10:21 AM

    Table Style Border Attribute Stripped From Code

    Occurs if table border style is set to border-right, -top, -left, or -bottom the code will be removed in FireFox. Does not occur in IE7 or 8

    Does not occur using just "border" all inclusive attribute

    To dupe:

    1. Paste the following code into the html

    <table style="border-top: red thick solid; width: 100%;">
         <tbody>
             <tr>
                 <td>1</td>
             </tr>
             <tr>
                 <td>2</td>
             </tr>
             <tr>
                 <td>3</td>
             </tr>
         </tbody>
    </table>

    3. Go to Preview mode, notice the border is present
    4. Go to Normal mode, then back to HTML mode, notice the style is removed

    Duplicable on cutesoft site
View Complete Thread