|09-28-2009, 03:28 AM||#1|
Join Date: Sep 2009
Device: sony reader touch (prs-600)
nicely formatted plays
perhaps everyone knows this, but using the definition list <dl></dl> works really well for plays. it's also better xhtml, since it defines the relationship between the speaker's name and his or her dialog in a way that using simple paragraphs does not. of course, you can further customize these tags with CSS.
definition list is used as such:
<dl> <dt>term</dt><dd>definition</dd> <dt>term</dt><dd>definition</dd> </dl>
<p><em>JobberA and JobberB enter</em></p> <dl> <dt>JobberA</dt> <dd>Wow, I really love e-books!</dd> <dt>JobberB</dt> <dd>Indeed! I do declare the are good. In fact, I will sing their praises! <p><em>JobberB sings.</em></p> <blockquote> e-books are really great<br/> ded-tree books i now do hate. </blockquote> </dd> </dl> <p><em>Exit all.</em></p>
I also like to make the speaker names bold, because sony reader doesn't automatically format the <dt> to be bold, as most web browsers do.
anyway, just thought i'd throw this tidbit out there. i used it in some books i published on feedbooks.
Last edited by quillaja; 09-28-2009 at 03:33 AM.
|09-28-2009, 10:09 AM||#3|
Comparer of the Ephemeris
Join Date: Mar 2009
This would also be useful for Table of Contents, with <dt> for the title (linked), and <dd> for a summary ...
Thanks for the tip!
|epub, formatting, ideas, plays, xhtml|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Other Fiction Galsworthy, John: Four Short Plays. V1. 9 Aug 2010||crutledge||Kindle Books||0||08-09-2010 10:44 AM|
|Other Fiction Galsworthy, John: Four Short Plays. V1. 9 Aug 2010||crutledge||BBeB/LRF Books||0||08-09-2010 10:42 AM|
|Plans for Plays?||Dr. Scoops||Amazon Kindle||2||12-27-2009 10:38 AM|
|Orchestra plays concert using e-music reader||Bob Russell||Legacy E-Book Devices||6||10-02-2009 03:23 AM|
|The Complete Plays of William Shakespeare||Falstaff||Sony Reader||25||03-01-2007 06:50 AM|