• When I post poetry, I want to use several different, various indents for effect. How can I indicate this in the post tags? I tried just using the space bar, but it didn’t show in the post.

Viewing 16 replies (of 16 total)
  • The easiest way to use the built-in stuff is to modify how you create the text in the first place.

    Replace all of the newline-tab sequences with newline-newline. This will put a blank line between every paragraph, which wordpress automatically recognizes as “hey, put <p>‘s around this part. Alternately, you could add the <p></p>s yourself before you paste it into wordpress.

    Then, apply the style I mentioned to the .postcontent section of your stylesheet (or whatever you’ve called the bit on the template where your content gets put).

    Since each line of dialog will now be in it’s own <p> markup, it will indent. If it is more than one line, only the first will indent. Same for the expository paragraphs.

    I don’t think there is a way to go from wordprocessor style paragraphs to HTML style paragraphs without some sort of messing about.

    Hope this helps.

Viewing 16 replies (of 16 total)
  • The topic ‘How to indent specific lines for poems?’ is closed to new replies.