• In my website, rhtpoetry.com, I want to have long poems enclosed by a border with light background color. I achieve that now by uploading the poems as PDF files (originally formatted by Microsoft Word), exactly as if they were images. The problem is that many of the poems, plus my commentary, occupy more then one page, and pagination is awkward. I thought that if I formatted the text on my desktop computer as HTMl with an external CSS stylesheet, I could achieve what I want: a single page of bordered text, plus unbordered commentary, that could be read by scrolling rather than going from page 1 to page 2, etc. But I don’t know if this is possible. Can I transfer HTML and associated CSS files to WordPress, so as to achieve formatted text, and how do I do it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Are you publishing this poem in a Post or in a Page? I’d also strong recommend that you do not copy content from Word into WordPress as the results can be somewhat unpredictable and, at best, may add a whole chunk of invisible “rubbish”.

    If you want tp retain the line break formatting of poetry, you might want to look at enclosing the poem in <pre> (code) tags and than adding CSS to style the content of the <pre> enclosed text using CSS added using a custom CSS plugin.

    Thread Starter rhthompson

    (@rhthompson)

    Hello Esmi,

    Thank you for your quick response to my desperation query.

    I am publishing many poems as posts. I am not copying Word documents directly into WordPress, but only after first converting them to PDF format, with borders, and treating them as images in WordPress (which seems to work OK, but I am stuck with the need to awkwardly go from page to page in long poems plus commentary). I have thought of making internal styling commands, but think I’d prefer to use external style sheets.
    In any case I do use line break commands (<br />) in the poem text itself. I didn’t think of using the

     command with text already preformatted with a border and background color.
    
    Thanks for the idea, and the link to a possible CSS plugin.  I will see if I can make this work. The problem I still see is IF the preformatted poem runs to more than one page (the commentary would be entered as standard unbordered text), I would still have an awkward pagination problem.  I am presuming that a long blog text entered in visual or text mode would be scrollable and not have to be broken into separate pages, but am not really sure about this.
    Thread Starter rhthompson

    (@rhthompson)

    (continuation of previous response to esmi

    I didn’t think of using the pre command with text already preformatted with a border and background color.

    Thanks for the idea, and the link to a CSS plugin. I will see if I can make this work. The problem I still see is that IF the preformatted poem runs to more than one page (the commentary would be entered as standard unbordered text), I would still have an awkward pagination problem. I am presuming that a long blog text entered in visual or text mode would be scrollable and not have to be broken into separate pages, but I am not really sure about this.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Long bordered text in a 1-page post’ is closed to new replies.