Mailing List Archive

How to avoid boxing indented text?
Some pages in my wiki are loaded from preexisting files which include
indented text. Putting such text in dashed boxes messes up the
document. I think I could use <pre> tags but I believe that would
prevent the text from reformatting to fit smaller or larger windows, Is
there another way to avoid the boxing?

Dick
Re: How to avoid boxing indented text? [ In reply to ]
I'm not very knowledgeable on MediaWiki, but seems to me that's just a CSS
attribute. Look in your stylesheet and find lines with "border" or "dashed",
like this:
border:1px dashed #aaaaaa;
They can be deleted, making it a 0 border.

----- Original Message -----
From: "Richard Karpinski" <dick@cfcl.com>
To: <mediawiki-l@Wikimedia.org>
Sent: Saturday, October 30, 2004 1:05 PM
Subject: [Mediawiki-l] How to avoid boxing indented text?


> Some pages in my wiki are loaded from preexisting files which include
> indented text. Putting such text in dashed boxes messes up the
> document. I think I could use <pre> tags but I believe that would
> prevent the text from reformatting to fit smaller or larger windows, Is
> there another way to avoid the boxing?
>
> Dick
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Re: How to avoid boxing indented text? [ In reply to ]
Spaces to indent denotes code within MediaWiki. To indent, replace
each leading space with a colon (":").

This is code. It was indented with a space.

:This is an indented paragraph. It was indented with a colon.


On Sat, 30 Oct 2004 11:05:07 -0700, Richard Karpinski <dick@cfcl.com> wrote:
> Some pages in my wiki are loaded from preexisting files which include
> indented text. Putting such text in dashed boxes messes up the
> document. I think I could use <pre> tags but I believe that would
> prevent the text from reformatting to fit smaller or larger windows, Is
> there another way to avoid the boxing?
>
> Dick
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>


--
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!
Re: How to avoid boxing indented text? [ In reply to ]
On Sat, 30 Oct 2004 14:58:08 -0400, Jamie Bliss
<astronouth7303@gmail.com> wrote:
> Spaces to indent denotes code within MediaWiki. To indent, replace
> each leading space with a colon (":").

Or, to be precise, they are treated as though the paragraph was
wrapped in <pre>...</pre>. The dashed border is the CSS rule applied
to "pre" elements.

--
Rowan Collins BSc
[IMSoP]
Re: How to avoid boxing indented text? [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Karpinski <dick@cfcl.com> writes:

> Some pages in my wiki are loaded from preexisting files which include
> indented text.
[...]
> Is there another way to avoid the boxing?

Indent the first line and let the text box line wrap as usual. When
it's rendered as a wiki node, you'll see that every line in that
paragraph is indented.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBhLRpUzgNqloQMwcRAvT7AKCP5SG8Qw0+g0SeF0tmv9PGHwppJQCgtfHR
1gChWJBkwEbA0e4EuZsJ1R4=
=U5Sj
-----END PGP SIGNATURE-----