[Mediawiki-l] Pre-like tag, with wrapping?

K. Peachey p858snake at yahoo.com.au
Mon Feb 9 09:13:54 UTC 2009


On Mon, Feb 9, 2009 at 7:03 PM, Jelle De Loecker <skerit at 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
Use a div box or table and style it accordingly:
eg: <div style="width:99.5%; margin:0 auto; background-color:#EE17C3;
border:1px dashed #0000FF">BOX Contents</div>



More information about the MediaWiki-l mailing list