How do I get T2W to display exactly what I type (with spaces!)?

Adamus

Experienced member
Messages
1,898
Likes
97
The title says exactly what I mean - in HTML I would use the PRE tag.

For instance I want a table with two columns:

Back-test window Walk-forward
2002-07-01 - 2007-06-31 2007-07-01 - 2007-12-31
2003-01-01 - 2007-12-31 2008-01-01 - 2008-06-31
2003-07-01 - 2008-06-31 2008-07-01 - 2008-12-31
2004-01-01 - 2008-12-31 2009-01-01 - 2009-06-31
2004-07-01 - 2009-06-31 2009-07-01 - 2009-12-31


I typed that in Courier New using the wysiwig editor, but the browser swallows the spaces so the columns don't line up with the column titles.

I can't use tabs obviously because the tab makes my cursor exit the editing field.

Is there something I can wrap the block with?
 
The title says exactly what I mean - in HTML I would use the PRE tag.

For instance I want a table with two columns:

Back-test window Walk-forward
2002-07-01 - 2007-06-31 2007-07-01 - 2007-12-31
2003-01-01 - 2007-12-31 2008-01-01 - 2008-06-31
2003-07-01 - 2008-06-31 2008-07-01 - 2008-12-31
2004-01-01 - 2008-12-31 2009-01-01 - 2009-06-31
2004-07-01 - 2009-06-31 2009-07-01 - 2009-12-31


I typed that in Courier New using the wysiwig editor, but the browser swallows the spaces so the columns don't line up with the column titles.

I can't use tabs obviously because the tab makes my cursor exit the editing field.

Is there something I can wrap the block with?

If all else fails You could always stick it in Excel or Word and upload it as an attachment

Charlton
 
Thanks for the advice but I will now display what a thicko I am - how do you use the HTML tables or the code tags? I thought I used code tags before and they just surrounded the text with a little box.

Code:
Col1             Col2               Col3             Col4
2002-07-01   11111            2007-07-01   22222 2
2003-01-01   33333            2008-01-01   4444

Hmm, it seems to be working.

Ok so what's with HTML tables then?
HTML:
<table><tr><td>1</td><td>2</td><td>3</td></tr>
<tr><td>2222</td><td>2222</td><td>2222</td></tr>
<tr><td>1111</td><td>1111</td><td>1111</td></tr>
</table>

Hmm, obviously haven't sussed out how to use HTML tables! What's the trick here then?
 
Top