View Single Post
Old 07-04-2010, 10:16 AM   #5
brewt
Boo-Frickety-Hoo-Erizer
brewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enough
 
brewt's Avatar
 
Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
Well, this is how I am doing it:

Code:
<p class=BodyTextLeftQuote>"I want this."</p>
<p class=MsoBodyTextFirstIndent>I want this.</p>
css:
Code:
p.BodyTextLeftQuote
	{mso-style-name:BodyTextLeftQuote;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:3.0pt;
	margin-left:0in;
	text-align:justify;
	text-indent:15.8pt;
	font-size:12.0pt;
	font-family:"Dutch801 Rm BT","serif";}

p.MsoBodyTextFirstIndent
	{mso-style-link:"Body Text First Indent Char";
	margin-top:0in;
	margin-right:0in;
	margin-bottom:3.0pt;
	margin-left:0in;
	text-align:justify;
	text-indent:20.9pt;
	font-size:12.0pt;
	font-family:"Dutch801 Rm BT","serif";}
It's these two lines that are giving me the concern:
text-indent:15.8pt;
text-indent:20.9pt;

Because if this isn't looked at with a Sony Reader, and the font used by the target device isn't Dutch Roman, those numbers are wrong. Hence, my dilemma and need for a dynamic fix, based on the font that is actually being used.

-bjc

p.s. Oh, and, you see why I use Word? I can use a macro to find the lines that start with double quotes and change the style to the double-quote style. Relatively painless.
brewt is offline   Reply With Quote