View Single Post
Old 12-15-2010, 03:13 PM   #1
wjcroft
Beginner's Mind
wjcroft began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2010
Location: Menlo Park, CA, USA
Device: PC, iPod Touch
changing text line-height in css

This is a great extension, thanks Michael.

I wanted to adjust the spacing between text lines, the default spacing was just somewhat too dense compared to what I'm used to.

I first looked at the file: ...[firefoxprofile]\epub\epub.css

And changed the "line-height:normal !important;" to:
"line-height:1.3em !important;"

But that change did not seem to take effect no matter how much I refreshed the page or reloaded the browser. In fact restarting EPUBReader seemed to overwrite my hand edit.

So I found:

...[firefoxprofile]\extensions\{guid for EPUBReader}\content\firefox\epub_template.css

Changing the line-height there and restarting EPUBReader then did have the desired effect.

----

It's obvious from the way Michael has laid out the template file that he intends to make the line-height another user preference adjustment, eventually. But this temporary patch might help some users until that date.

Regards,
wjcroft is offline   Reply With Quote