• The site has now migrated to Xenforo 2. If you see any issues with the forum operation, please post them in the feedback thread.
  • Due to issues with external spam filters, QQ is currently unable to send any mail to Microsoft E-mail addresses. This includes any account at live.com, hotmail.com or msn.com. Signing up to the forum with one of these addresses will result in your verification E-mail never arriving. For best results, please use a different E-mail provider for your QQ address.
  • For prospective new members, a word of warning: don't use common names like Dennis, Simon, or Kenny if you decide to create an account. Spammers have used them all before you and gotten those names flagged in the anti-spam databases. Your account registration will be rejected because of it.
  • Since it has happened MULTIPLE times now, I want to be very clear about this. You do not get to abandon an account and create a new one. You do not get to pass an account to someone else and create a new one. If you do so anyway, you will be banned for creating sockpuppets.
  • Due to the actions of particularly persistent spammers and trolls, we will be banning disposable email addresses from today onward.
  • The rules regarding NSFW links have been updated. See here for details.

Can't put zeroes in tables???

Rathmun

"Not interested" is not hate speech.
Joined
Nov 21, 2014
Messages
9,175
Likes received
243,294
This table should have zeroes "0" on the diagonal from top left to bottom right.
  1 2 3
1   1 2
2 1   1
3 2 1  
And yet when I preview it or post it, those cells are empty.
When I inspect the BBCode before posting, the "0" characters are where I'd expect them to be. The full table appears as thus
Code:
[xtable]
{tbody}
{tr}
{td}0{/td}
{td}1{/td}
{td}2{/td}
{td}3{/td}
{/tr}
{tr}
{td}1{/td}
{td}0{/td}
{td}1{/td}
{td}2{/td}
{/tr}
{tr}
{td}2{/td}
{td}1{/td}
{td}0{/td}
{td}1{/td}
{/tr}
{tr}
{td}3{/td}
{td}2{/td}
{td}1{/td}
{td}0{/td}
{/tr}
{/tbody}
[/xtable]

But if I go to edit the post after having posted it, the bbcode for the table has changed to this.
Code:
[xtable=skin1]
{tbody}
{tr}
{td} {/td} 
{td}1{/td} 
{td}2{/td} 
{td}3{/td}
{/tr}
{tr}
{td}1{/td} 
{td} {/td} 
{td}1{/td} 
{td}2{/td}
{/tr}
{tr}
{td}2{/td} 
{td}1{/td} 
{td} {/td} 
{td}1{/td}
{/tr}
{tr}
{td}3{/td} 
{td}2{/td} 
{td}1{/td} 
{td} {/td}
{/tr}
{/tbody}
[/xtable]
 
⁣0⁣⁣ 1 2 3
1 0⁣⁣ 1 2
2 1 0⁣⁣ 1
3 2 1 0⁣⁣
The forum is using 0 for null in this case? You could experiment with invisible unicode characters. Non-breaking spaces don't seem work, but the "Invisible Separator (U+2063)" appears to. I put one after each zero. It probably increased the column width by one character, but it's not noticeable.

I looked at this in Chrome, Firefox, and my Android phone and it worked for all three.
 
Last edited:

Users who are viewing this thread

Back
Top