Forum Moderators: open
[pre]no space
1 or 2 spaces
4 spaces
6 spaces
8 spaces
will not put a single spaced line in
If you try to use a single space line, following lines get thrown off:Left a blank line there
2 spaces
4 spaces
6 spaces
8 spaces
[pre]
Test Example
2222 2 spaces
4444 4 spaces
6666 6 spaces
Ok can see know that preview is not good indication of post font
[edited by: daveVk at 11:50 pm (utc) on Mar. 22, 2007]
Confused how you managed to get a mix of normal and small font in your last post, at least thats what I see.
Confuses me too, but that is what happens in the forum if you leave a blank line inside the "pre" style codes. I noticed a long time ago when viewing the source code that a single newline entry is replaced by a <br> element whereas two or more newlines are replaced by <p> elements, even inside of <pre> elements.
I find it easiest to put code in the forum using the "pre" style codes, replacing a single space with two spaces when I need indentation, and don't leave blank lines in between.
posting code is something we discourage because huge code dumps are common so we don't facilitate it too much ;)
I take your point about large dumps, however for forums such as HTML, XML, Javascript to name a few, presenting examples without indent seems impolite, and encouraging bad practice. Perhaps it would be better to limit the size of all posts.