View Single Post
Old 10-18-2012, 10:24 AM   #8
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,903
Karma: 5880479
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by dwig View Post
+1 ... looking at the code in other ePubs that display the type of formatting you're trying to emulate is always a good idea.

Also check out W3schools' CSS tutorials. While ePub doesn't support everything in CSS it does support a goodly portion of it.

BTW, you might find that you also need to add a font-weight attribute to the CSS suggested by theducks in order to get the effect you illustrate

.bigletter {font-size: 175%; font-weight: bold;}

I started a (Mostly Chapter heading, first paragraph coding) snippet sampler book of the things I like or just tried out . 1 page per thing each page can have its own stylesheet
This way, you also get to try it on the target device
theducks is offline   Reply With Quote