User:Chzz/help/code

You can just start a line with a space, like this one, or

&lt;pre> You can, if you want, put things in-between a &lt;pre> and a &lt;/pre> like this. This is useful for longer texts. Erm. The quick brown fox jumps over the lazy dog, etc. &lt;/pre>

 Chzz  ► 20:14, 3 September 2010 (UTC)

 Oh, and I'm sure you'll notice, the above do not wrap; there are various ways to deal with that. This, here, is using a 'div' of my own devising, which I added by putting  to add the beginning &lt;div> thingy (ie to subst in the code on the page User:Chzz/n), and not forgetting to put a &lt;/div> at the end of it.

Erm. That sounds a bit complicated; what I actually mean is, I'd literally put this on the page;

Content here

&lt;/div>

There's loads of those types of things; see Category:Typing-aid templates.  Chzz  ► 20:40, 3 September 2010 (UTC)

 Oh - one more option - if you want a scrollbox.

For this, I've used &lt;pre style="overflow: auto;"> at the beginning. So, it'll put scrollbars on the box itself, to cope with overflowing lines.

You need a &lt;/pre> at the end of it.

If you want to experiment with this sort of thing, I suggest you create a test page for yourself - e.g. User:Aaplrox/test - click that red link to make the page, and feel free to experiment on it.

Also, you can always speak to helpers live, with this thing. Best,  Chzz  ► 20:45, 3 September 2010 (UTC)