HRWiki:Sandbox

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(let's try this)
(and now this)
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: normal; font-family: inherit;">
+
<pre style="padding: inherit; border: 0; background-color: transparent; line-height: normal; font-family: sans-serif;">
newline
newline
newline
newline

Revision as of 03:35, 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
Personal tools