View Single Post
Old 05-09-2009, 03:17 PM   #3
Colaveare
Member
Colaveare began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Apr 2009
Device: iphone
Yeah the problem is that by adding

Quote:
pre {display: none }
to overide the CSS it converts it into a blank epub file (literally removed all text that was targeted by the <pre> tag)

Instead I've been using this little workaround for now.
It seems to be working but sadly it stops me from having layouts that can auto-configure paragraph indent, line spacing between paragraphs and other things like default ereader browser fonts and so forth...

Quote:
pre {
white-space: pre-line;
font-family: Georgia;
}
At least this seems to be doing a line wrap and line justification for both the iphone and the calibre reader.

Last edited by Colaveare; 05-09-2009 at 03:19 PM.
Colaveare is offline   Reply With Quote