Can't get 0's (zeros) to show up in table
-
Hi all . I can’t seem to get zeros to show up in the table on this page: http://staffordcc.wordpress.com/fixtures-2012-13/test-tables/
Any help would be very much appreciated. The following code was copied from one of those html generator site and copied and pasted leaving me to fill in the blanks.
<table border=”1″ cellspacing=”3″ cellpadding=”3″>
<tbody>
<tr>
<td>Grade</td>
<td>Home</td>
<td>Score</td>
<td>Score</td>
<td>Away</td>
<td>Grade</td>
</tr>
<tr>
<td>999</td>
<td>Home Team Name</td>
<td>1</td>
<td>4</td>
<td>Away Team Name</td>
<td>999</td>
</tr>
<tr>
<td>188</td>
<td>Player 1</td>
<td>0</td>
<td>1</td>
<td>Player 1</td>
<td>170</td>
</tr>
<tr>
<td>178</td>
<td>Player 2</td>
<td>½</td>
<td>½</td>
<td>Player 2</td>
<td>170</td>
</tr>
<tr>
<td>170</td>
<td>Player 3</td>
<td>0</td>
<td>1</td>
<td>Player 3</td>
<td>170</td>
</tr>
<tr>
<td>160</td>
<td>Player 4</td>
<td>0</td>
<td>1</td>
<td>Player 4</td>
<td>170</td>
</tr>
<tr>
<td>150</td>
<td>Player 5</td>
<td>½</td>
<td>½</td>
<td>Player 5</td>
<td>170</td>
</tr>
</tbody>
</table>The blog I need help with is: (visible only to logged in users)
-
I sorted this by putting a space in front of the 0. I’m open to suggestions of a better way though.
-
the same problem for me…
I tried with
[sourcecode lang="text"]0[/sourcecode]
and
[sourcecode lang="text"]1[/sourcecode].
I can’t get the first one. -
I’m also having the same problem. I had an issue with the tables on my website, following a WordPress update in October, which was resolved by kathrynwp via this thread:(https://en.forums.wordpress.com/topic/html-table-format?replies=27#post-1091318) The problem with the vanishing zeros seems to be a hangover from this.
My site incorporates a lot of tables, so a more general solution than specific coding changes would be very useful. For the most important tables, I tried inserting a space before the zero as an interim measure – this worked in some instances, but the spaces seemed to stripped out automatically on other occasions.
Here is an example of an affected page:
-
-
Just checked my site, and the problem seems to have been resolved. Many thanks for sorting it out.
- The topic ‘Can't get 0's (zeros) to show up in table’ is closed to new replies.