Support » Everything else WordPress » My tables stripped bare…

  • Resolved billnanson

    (@billnanson)


    Sorry if this might have been covered elsewhere, but tag stripping seems a big subject.

    I like to use the zebra approach
    http://www.alistapart.com/articles/zebratables/ to my tables and have noticed something really odd when adding content in the wordpress HTML source editor. A short example of the code lies at the end of these words.

    The wordpress HTML editor allows the first row with the class=selected2 tag, but all other rows with this same tag (ie every second row) is stripped – not the tag, but the whole row! So I end up with the desired colour for my top two rows, then half of the rows are missing and I have only 1 colour.

    I’m happy to post links as examples; here is a stripped version
    http://www.burgundy-report.com/wp/?page_id=83

    And here is a non-stripped, non-wordpress version
    http://www.burgundy-report.com/306/features/tollot.html

    Any ideas to fix are gratefully accepted
    Thanks, Bill

    <table id=”T2″ border=”0″ cellpadding=”0″ cellspacing=”0″ align=”left”>
    <tr class=selected2 style=”font-weight: bold”>
    <td>The Tollot-Beaut Crus</td>
    <td align=”center”>Hectares </td>
    <td align=”center”>Vines planted in…</td>
    </tr>
    <tr>
    <td>Corton-Charlemagne Grand Cru</td>
    <td align=”center”>0.2412</td>
    <td align=”left”>1965</td>
    </tr>
    <tr class=selected2>
    <td>Corton Bressandes Grand Cru</td>
    <td align=”center”>0.9121</td>
    <td align=”left”>1953, 1955</td>
    </tr>
    <tr>
    <td>Corton Grand Cru</td>
    <td align=”center”>0.6026</td>
    <td align=”left”>1930, 1985</td>
    </tr>
    </table>

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘My tables stripped bare…’ is closed to new replies.