View Single Post
Old 05-03-2013, 10:49 PM   #74
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by JSWolf View Post
What is good code for dealing with a dropcap that needs to be two characters such as a quote and the following letter?
As far as appearance?

Specifying a negative left margin so that the quote mark approximately falls in the margin would be best for printing, but that sucks for onscreen viewing because of the need to waste space with a positive left margin on every page to accommodate it.

If you're really enterprising, this is where an "@media print" comes in handy. Just do it in a separate css file, since ADE vomits on media queries, IIRC.

Beyond that detail, there's not really any difference between a single-character drop cap and a multi-character drop cap. I size the leading quotes the same as the drop cap, but that's a question of personal preference. Others may prefer to make them smaller or specifically design a font with narrow quotation marks so that they take up less horizontal space.

Last edited by dgatwood; 05-03-2013 at 10:52 PM.
dgatwood is offline   Reply With Quote