Thread: LRF output
View Single Post
Old 07-03-2007, 05:57 PM   #223
bkilian
Zealot
bkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notes
 
Posts: 131
Karma: 24870
Join Date: Oct 2006
Device: Sony PRS/505
Quote:
Originally Posted by kovidgoyal View Post
Well you cant acheive an actual drop caps. The best that you can do is an image whoose base is aligned with the base of the line.

something like this should achieve that
Code:
<p>
<img src='smallimage.jpg' />his is the first line.
</p>
If the image is larger than a certain size it gets put onto a line by itself, so make sure the image is small enough.
Ok, I replaced the bizarre table based drop cap with a much simpler larger first letter. I know this is possible, since all the books I bought from the connect store (all 3 of them ) do it.
Code:
<font size="+3">T</font>he road leading out of
Constantinople was dusty, the stones thirsty after
which should look ssomething like
Quote:
The road leading out of Constantinople was dusty, the stones thirsty after
However, html2lrf just ignored it and kept the first letter of the chapter the same size as all the others. Is this supported?

Edit: Never mind. the trick is to use proper CSS, and not <font size="+3">. It appears to not understand relative font sizes.

Last edited by bkilian; 07-03-2007 at 06:18 PM.
bkilian is offline   Reply With Quote