[code]wtf?[/code]

Need support or have a suggestion on how to improve the site? Post it here.
Post Reply
User avatar
JCShutout
MacGyver of Underwear
Posts: 13018
Joined: April 18 06, 7:53 am
Location: South City

[code]wtf?[/code]

Post by JCShutout »

I was able to get the code working by constantly hitting preview and adjusting the categories until everything lined up. That said, is there a trick to getting the code all lined up correctly or is it just a case of trial and error?

I ask because this:

Code: Select all

Players   Team   Games   Goals   Assists   Points
--------------------------------------------------------
Brewer     Can     6        1         2         3
Jackman    Can     6        0         2         2
Mayers     Can     6        3         1         4
JayMac     Can     6        2         2         4
Stempy     USA     6        5         4         9
EJ         USA     6        0         2         2
Backes     USA     6        1         1         2
Cajanek    Cze     4        0         2         2
... looks all messed up when typing it into the text box (hit quote to see how weird it looks with inconsistent spaces between categories and whatnot).

Arthur Dent
Hall Of Famer
Posts: 12317
Joined: April 25 06, 6:43 pm
Location: Austin

Post by Arthur Dent »

The problem is that the text box uses a regular font where different letters have different width whereas the code box uses a monospaced font so you can align things by using spaces and tabs. You can use a monospaced editor like Notepad in Windows to generate the formatting you want and paste it into the text box, but it's a bit cumbersome.

User avatar
Leroy
a bad penny always turns up
Posts: 25113
Joined: April 17 06, 12:27 pm
Location: Hanging out with my redneck, white socks and Blue Ribbon beer.
Contact:

Post by Leroy »

Arthur Dent wrote:The problem is that the text box uses a regular font where different letters have different width whereas the code box uses a monospaced font so you can align things by using spaces and tabs. You can use a monospaced editor like Notepad in Windows to generate the formatting you want and paste it into the text box, but it's a bit cumbersome.
I see what you are saying. :?

Post Reply