• I’m making the move from livejournal over to wordpress.
    Livejournal allowed me to simulate tabs in my posts by using a bunch of
     
    This doesn’t seem to work in WordPress. It prints the very last   and ignores all the rest.
    Is there someway to add whitespace or tabs to entries??
    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    Did you ever get an answer to this? I’m having the same problem–I sometimes post code snippets, and indentation is very helpful there.

    This will work too, though it’s a bit kludgy:
    Surround EACH LINE with <pre></pre> HTML tags.
    Here’s an example. Instead of typing:
    Hi there!
    type:
    <pre> Hi there!</pre>
    You can’t just surround an entire multiple-line chunk with one <pre></pre> tag because WP automatically writes tags at each line break, and your XHTML won’t validate with “preformatted” tags surrounding “paragraph” tags. There’s probably a more elegant way to deal with this by altering the CSS, but I’m not sure what it is.

    This will work too, though it’s a bit kludgy:
    Surround EACH LINE with <pre></pre> HTML tags.
    Here’s an example. Instead of typing:
    Hi there!
    type:
    <pre> Hi there!</pre>
    You can’t just surround an entire multiple-line chunk with one <pre></pre> tag because WP automatically writes tags at each line break, and your XHTML won’t validate with “preformatted” tags surrounding “paragraph” tags. There’s probably a more elegant way to deal with this by altering the CSS, but I’m not sure what it is.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tabs or whitespace in entries??’ is closed to new replies.