View Single Post
Old 03-03-2013, 01:04 PM   #5
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
@MacEachaidh: <dt> & <dd> are tags used for creating definition lists in HTML

I've used <dl>/<dt>/<dd> for drama (and also for endnotes). One big advantage is that the fallback formatting for reader systems that don't support CSS works well. With CSS, you can format them any way you like, of course, but I think it's a good idea to have something similar to the default, since screen width is a limited resource on most e-readers.

Remember to avoid page breaks after <dt> with page-break-after:avoid or an equivalent solution. Avoiding page-breaks inside the <dd>'s as well is something to consider.

An example of how I've used <dl> in dramas is here (in Norwegian, but CSS is CSS, wherever in the world you are)
SBT is offline   Reply With Quote