Railroad Forums 

  • How do I use the "CODE" tag to line up columns of

  • General discussion about the RAILROAD.NET site, forums, or content ONLY. Please do not post your general railroading questions, please choose an appropriate forum. For help using the site, please post in the Help Using RAILROAD.NET Forum.
General discussion about the RAILROAD.NET site, forums, or content ONLY. Please do not post your general railroading questions, please choose an appropriate forum. For help using the site, please post in the Help Using RAILROAD.NET Forum.

Moderator: Jeff Smith

 #13222  by BenH
 
Is there any way to line up columns of numbers? When I try to do it now it seems that multiple spaces get convereted into a single space. e.g.
1 2 3 4 5
(I put 10 spaces between each digit).

My work-around at the moment is to use multiple periods (".")
instead of using spaces.
Last edited by BenH on Sat Apr 17, 2004 9:18 am, edited 1 time in total.

 #13269  by Mike Roque
 
Yes, you can use the "code" BBcode tag. This text in my message...
Code: Select all
[code]1     2     3     4     5
6     7     8     9    10
[/code]

...produces this:
Code: Select all
1     2     3     4     5
6     7     8     9    10
Basically, the code tag uses a monospaced font and preserves white space.

Enjoy!