Support » Miscellaneous » [Resolved] My tables stripped bare…

[Resolved] My tables stripped bare…

  • 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

    And here is a non-stripped, non-wordpress version

    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>
    <td>Corton-Charlemagne Grand Cru</td>
    <td align=”center”>0.2412</td>
    <td align=”left”>1965</td>
    <tr class=selected2>
    <td>Corton Bressandes Grand Cru</td>
    <td align=”center”>0.9121</td>
    <td align=”left”>1953, 1955</td>
    <td>Corton Grand Cru</td>
    <td align=”center”>0.6026</td>
    <td align=”left”>1930, 1985</td>

Viewing 3 replies - 1 through 3 (of 3 total)
  • moshu


    If you are working with your own code – never turn on the wysiwyg animal.
    (admin > Users > Your profile: left bottom corner – uncheck)

    I can put whatever code I want in my posts, including tables, and they work. But I never enable that wysiwyg thing.



    98% better!
    Wierd formatting now appears in the form of a six-inch gap before my table appears (IE & Firefox) but at least it’s now stripy and I’m sure I’ll work it out eventually – despite there being nothing to indicate a space in the code – but hey…
    Cheers, Bill



    I am really not a validation maniac… but whenever something isn’t displaying as expected I am tempted to click on the validation link

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