I'm sure there's a template that you could use (on wikipedia) or make ( on your own private wiki) which wraps your text in a div with some special CSS.
The pre tag means preformatted, which is why unlike other HTML tags it pays attention to whitespace like tabs new lines and more than one consecutive space. Using a div with a background color, border and padding would provide the wrapping you want plus any style you are after.
To integrate the HTML code into an article or template you will need to use the <nowiki> tags around the HTML tags.
- Trevor
Sent from my iPod
On Feb 9, 2009, at 1:03 AM, Jelle De Loecker skerit@kipdola.com wrote:
Good morning everyone,
Sometimes I like to use <pre> to give a certain piece of text that extra oomph, to emphasize it's a bit different from the other text. As you know, <pre> is meant to add text without wrapping it, but that's a problem right now.
Is there a tag that looks like <pre>'s formatting and actually wraps the lines?
I'm sure it must exist, but I have no clue what this type of object would be called...
Greetings, Jelle De Loecker
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l