
Marcello wrote:
Andrew Sly wrote:
Any suggestions for a more general (but still accurate) name I could use for this CSS selector?
This are TEI markup examples for your case. Maybe you can glean sensible names from those.
...
<div type="letter"> <p><!-- ... --> perhaps you will favour me with a sight of it when convenient.</p> <closer> <salute>I remain, &c. &c.</salute> <signed>H. Colburn</signed> </closer> </div>
Another TEI example of handling a letter is given at: http://www.tei-c.org/P4X/DS.html#DSOC Here's the example given: <div type="letter" n="14"> <head>Letter XIV: Miss Clarissa Harlowe to Miss Howe</head> <opener> <dateline>Thursday evening, March 2.</dateline> </opener> <p>On Hannah's depositing my long letter ...</p> <p>An interruption obliges me to conclude myself in some hurry, as well as fright, what I must ever be,</p> <closer> <salute>Yours more than my own,</salute> <signed>Clarissa Harlowe</signed> </closer> </div> As I think about it, this can be mapped to XHTML 1.1 as <div class="letter" id="letter14" title="Letter XIV: Miss Clarissa Harlowe to Miss Howe"> <div class="opener"> <p class="dateline">Thursday evening, March 2.</p> </div> <div class="body"> <p>On Hannah's depositing my long letter ...</p> <p>An interruption obliges me to conclude myself in some hurry, as well as fright, what I must ever be,</p> </div> <div class="closer"> <p class="salute">Yours more than my own,</p> <p class="signed">Clarissa Harlowe</p> </div> </div> (I added a <div class="body"> into the mix, even though the TEI example does not include it. I like symmetry of divisions and makes it a little easier for interesting CSS styling (but not necessary.) Also, the <head> in TEI is mapped to "title" in the letter-level <div>. If the <head> is intended to be displayed, it would instead be placed into an XHTML <h3> (or whatever) right below div.letter.) CSS styling then follows this standardized markup. Thanks, Marcello, I was thinking this morning how to markup letters and other types of communications using XHTML and TEI. These are commonly found in many books, so much so they deserved their own 'standardized' format (just like verse), and TEI did not let us down on this. Jon Noring