HRWiki:Sandbox

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(undid revision 486453 by DeFender1031 (Talk)no, that breaks it)
(undid revision 486455 by Qermaq (Talk) no it doesn't)
Line 33: Line 33:
No matter what tags you surround the lines with, unless you do something to the lines themselves they will be seen by the UA as unformatted. The only exception is pre, which tells the UA the text is preformatted and to present as is. The wiki turns a return (or an Enter) between lines as a closing and re-opening of a paragraph element, that's why that works.  You could use the style attribute on pre to undo the inherent style the wiki adds to pre, if that visual formatting isn't desired.
No matter what tags you surround the lines with, unless you do something to the lines themselves they will be seen by the UA as unformatted. The only exception is pre, which tells the UA the text is preformatted and to present as is. The wiki turns a return (or an Enter) between lines as a closing and re-opening of a paragraph element, that's why that works.  You could use the style attribute on pre to undo the inherent style the wiki adds to pre, if that visual formatting isn't desired.
-
<pre style="padding: inherit; border: 0; background-color: transparent; line-height: inherit; font-family: sans-serif; font-size; inherit;">
+
<pre style="padding: inherit; border: 0; background-color: transparent; line-height: inherit; font-family: inherit; font-size; inherit;">
newline
newline
newline
newline

Revision as of 03:41, 7 August 2007

<tag>

  • newline
  • newline
  • newline
newline
newline
newline
  1. newline
  2. newline
  3. newline

newline<br />
newline<br />
newline<br />
newline newline </tag>

what tag do i put around this so that each "newline" is on its own line? — Defender1031*Talk 21:03, 6 August 2007 (UTC)

newline
newline
newline
newline
newline
newline
newline
newline

this is not what you meant, is it?

No matter what tags you surround the lines with, unless you do something to the lines themselves they will be seen by the UA as unformatted. The only exception is pre, which tells the UA the text is preformatted and to present as is. The wiki turns a return (or an Enter) between lines as a closing and re-opening of a paragraph element, that's why that works. You could use the style attribute on pre to undo the inherent style the wiki adds to pre, if that visual formatting isn't desired.

newline
newline
newline
newline
No matter
what you do,
this is weird.
Who'd knew?

Good job, Qermaq, you get good prize. Ding!