Jukka K. Korpela wrote: > On Mon, 21 May 2007, david wrote: > >> Update: after posting that, I saw someone else mention song lyrics or >> poetry. Being a writer of both, all I can say is - that each line is >> easily handled as a separate paragraph, with CSS controlling line >> spacing and left/right margins. > > I don't think it's adequate to make each line a paragraph. When CSS is > off, it will look bad. It will _sound_ bad, since speech browsers > typically pause between paragraphs. > > But using <div> for each line works well, and lets you add left margin > easily if desired. And it requires no CSS if simple rendering is OK.
Good point. > There's also the option of using <pre>, which is convenient if you now > have poems in plain text format, possibly with spaces at the start of > lines to be preserved. The drawback is that the font is monospace by > default, but this can easily be fixed in CSS. (The opposite approach, > using <p>...</p> with white-space: pre might be theoretically better, but > it doesn't work on some old browsers and causes a mess when CSS is off.) Styling <pre> would cause problems with many of my poems, many of which have lines that start beneath specific individual characters in the line above. If I put in the proper amount of spaces to line things up in a <pre> restyled to use a non-monospace font, someone viewing it with CSS off will have the words landing at the wrong place. I do wish CSS had the idea of a <tab> character! ;-) Anyway, are we too far off topic to get back on topic? Does anyone know of any poetry sites where we could see how they're doing it? -- David [EMAIL PROTECTED] authenticity, honesty, community ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/