PDA

View Full Version : vbCode tags



HenrikOlsson
- 14th December 2006, 09:09
Hi,
Can somone tell me how to have properly formating inside a code window produced with the vbCode tags. When I write the code it looks good but when it shows on the forum the formating is screwed up.

The TAB key makes the 'posting' window loose focus, so what's left is to use a lot of spaces.

Here's an example:


This text is written inside the code tag. 'And this should represent a comment. 'and this too
All comments are in the same collumn when 'as well as this.
I write this but it's isn't when it shows up '....this too
on the forum 'and the last one.


Thanks!

/Henrik Olsson.

sayzer
- 14th December 2006, 09:26
Copy and paste the whole text into notepad, or write the text in notepad, and use TAB key there to make your text look good.

Then when you are done, copy the whole text from notepad again and paste it to the forum.

Should work.

----------------------

HenrikOlsson
- 14th December 2006, 10:01
Thank you Sayzer!

Test:


So lets test a chunk 'Comment.....
of text that is copied 'comment.....
from notepad... 'comment.....


/Henrik Olsson.