Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > EPUBReader


Thread Tools Search this Thread
Old 12-15-2010, 04:13 PM   #1
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.

wjcroft is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Old Thread] Epub Output: Line Height greenapple Conversion 20 01-27-2013 10:27 AM
Epub line height problem dorotie Calibre 5 08-24-2010 04:23 PM
How to increase the line space in CSS Sylver Calibre 3 08-08-2010 02:02 AM
CSS for line breaks after dashes? JaneFancher Sigil 4 04-05-2010 01:18 PM
Problem with epub to lrf with changing font size and line spacing kleinbiker Calibre 4 12-17-2009 09:55 AM

All times are GMT -4. The time now is 03:02 PM. is a privately owned, operated and funded community.