> On Tue, 22 May 2007, Blake Haswell wrote: > >> I think there are only two really appropriate ways to mark-up poetry. >> Using <pre> tags, or using paragraphs to mark-up the stanza's and the >> <br> tag to show line-breaks. Possibly using an OL to mark it up as an >> ordered list, but that's only an option if you need to have the line >> numbers written, and even then I think it's pretty messy. > > Using OL or UL is quite acceptable as far as styled presentation is > considered, since you can set list-style-type: none and margin: 0 and > padding: 0. You can also set > > li { margin-left: 1em; > text-indent: -1em; } > > so that if a line is longer than fits into the canvas, it is wrapped but > so that the second line is indented, letting the user infer the > intended division into lines. (Similar styling can be used in the DIV > approach that I mentioned earlier.) > > What's problematic in using OL or UL is the unstyled presentation. > > -- > Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/ > > ______________________________________________________________________ > 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/ >
Of course, in XHTML 2.0, they will be doing away with the <br /> tag. Don't count this as a victory. They're replacing it with the <line>The quick brown ...</line> syntax. So, clearly, the W3C believes that paragraphs should be broken down somewhat. Just something to consider. ______________________________________________________________________ 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/