• Hi,
    I made a new page in my wp and into there I am creating a table to show some sport results.

    The table I am going to put is the following:

    <table>
    <tr>
    <th class=”first”>P</th>
    <th>Squadra</th>
    <th>P</th>
    <th>G</th>
    <th>P</th>
    <th>V</th>
    <th>CF</th>
    <th>CS</th>
    </tr>

    <tr class=”rowA”>
    <td class=”first”>1</td>
    <td>Rondinella</td>
    <td>32</td>
    <td>18</td>
    <td>16</td>
    <td>2</td>
    <td>1548</td>
    <td>1195</td>
    </tr>

    </table>

    But why I see only the first line (yellow)?
    http://www.assancarlosesto.com/wp/?page_id=3

Viewing 5 replies - 1 through 5 (of 5 total)
  • Because this is all you have for your table:

    <h2>Classifica</h2>
    <table>

    <tr>
    <th class=”first”>P</th>
    <th>Squadra</th>
    <th>P</th>
    <th>G</th>
    <th>P</th>
    <th>V</th>
    <th>CF</th>
    <th>CS</th>

    </tr>
    </table>

    You don’t have “rowA” and on in there. You might want to check your Page template again and be sure you actually put the rest of it in there.

    Thread Starter ugua

    (@ugua)

    But I put it in…why dont I get it?

    I don’t know. I don’t know what you have written in your template file. The only explanation I can come up with (based on the info given) is that 1) you’ve used some type of PHP code to generate the rest of the table and it’s erroneous code; or 2) you thought you hard-coded it into the template, but maybe you forgot to save it, or you were erasing something and accidentally erased that section.

    All I can say is, if it’s 1), then show up the PHP code. If it’s not 1) then I would double-check my template file and make sure the second section is in there – because from your source code, it’s not there.

    Thread Starter ugua

    (@ugua)

    I simply copy and pasted the above code of the table into my template

    If you’re using the Rich Text editory (aka wysiwyg), don’t. It has a very nasty habit of stripping code. Disable it on your user profile page, left bottom (uncheck the box).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘tables in a page’ is closed to new replies.