Template:Pre: Difference between revisions
Template page
More actions
yep |
code |
||
| Line 3: | Line 3: | ||
---- | ---- | ||
Same as using <pre> tags but the text won't run off screen and instead will appear with a scrollbar. | Same as using <pre> tags but the text won't run off screen and instead will appear with a scrollbar. | ||
'''Code:''' | |||
{{pre|<nowiki> | |||
<pre style="overflow: auto;">{{{1}}}</pre> | |||
</nowiki>}} | |||
'''Example:''' | '''Example:''' | ||
Revision as of 18:36, 13 May 2008
{{{1}}}
Same as using <pre> tags but the text won't run off screen and instead will appear with a scrollbar.
Code:
<pre style="overflow: auto;">{{{1}}}</pre>
Example:
000000000000000000 lines don't wrap 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000