JWS wrote:
> See http://www.jw-stumpel.nl/yeats.html
>
> The title says it all, really;
Please place the question in the body of the post as well, thanks.
> I'd like to position the title and the poem nicely on the page, while
> keeping the whole thing 'fluid' (not using absolute dimensions). The
> present design does not work well with *all* window widths.
> Suggestions are appreciated!
I use the <pre> element for poetry.
<h1>The Second Coming</h1>
<h3>A poem by W.B. Yeats (1921)</h3>
<pre class="poetry">
[type your poem here... no <br> necessary between lines]
</pre>
The CSS of your choice:
h1, h3 { text-align: center; }
/* though I would use a styled <div> for "A poem by W.B. Yeats (1921)"
as I don't think that is a "heading" */
..poetry {
font-family: Georgia, serif;
margin-left: 10em;
}
Your Yeats page works just fine down to about a 500px-wide window.
Unless you are going to consider mobile phones, that should be good
enough.
--
-bts
-Friends don't let friends drive Vista