Problems with spacing on embedded code

Lone Wolf

Well-known member
I run a sports website and on vbulletin we used to use the code function to create game scorecards. We could use tabs in notepad to create a properly spaced scorecard as in the example below...

Code:
Purple vs. Green
 
 
Green Innings
 
 
Player                Status                        R    B    4s    6s    S/R
Umar Akmal            lbw Abdul Razzaq              0    1     0    0    0
Misbah ul Haq         c Abdul Razzaq b Omar        51    36    6    0    141.7
Shan Masood            lbw Omar                    59    43    8    0    137.2
Shakeel Ansar         c Omar b Abdul Razzaq        26    16    4    0    162.5
 
Total: 175                    Overs: 20.0                Run Rate: 8.75
 
Extras : 9    No Balls : 2      Wides : 4    Leg Byes : 3        Byes : 0


However when I do the same thing on XenForo the spacing is all wrong as in the example below...

Code:
Purple vs. Green
 
 
Green Innings
 
 
Player                Status                        R    B    4s    6s    S/R
Umar Akmal            lbw Abdul Razzaq            0    1    0    0    0
Misbah ul Haq        c Abdul Razzaq b Omar        51    36    6    0    141.7
Shan Masood            lbw Omar                    59    43    8    0    137.2
Shakeel Ansar        c Omar b Abdul Razzaq        26    16    4    0    162.5
 
Total: 175                    Overs: 20.0                Run Rate: 8.75
 
Extras : 9    No Balls : 2      Wides : 4    Leg Byes : 3        Byes : 0


In order to correctly space the second scorecard to resemble the first scorecard I have to individually edit the spaces on each line to make it match up correctly. This is really time consuming and I cant understand why it doesnt 'just work' like it used to on vbulletin.

Does anyone know how to create correctly spaced (via tabs) scorecards with XenForo code the way I can with vbulletin.
 
What if you change the font in the editor to Courier New? Does it give you the desired effect more than if you used the [code] function?
 
Top Bottom