View Single Post
Old 03-26-2009, 05:34 PM   #6
jbruce
Connoisseur
jbruce has learned how to buy an e-book online
 
Posts: 64
Karma: 88
Join Date: Mar 2009
Device: Sony PRS 700
Seems to work for me - I don't experience any rag-right.

Code:
<p style="text-align: justify;">...</p>
<p style="text-align: left;">...</p>
<p style="text-align: right;">...</p>
<p style="text-align: center;">...</p>
Because this was just a quick test with all CSS justify options - I don't know if you can create a universal StyleSheet which Calibre will reference when converting to LRF.

align test - Unknown.lrf

align test - Unknown.zip

Hope that helps.

Cheers,
J

ps. The HTML document can be found in the ZIP file. And, the verification of left/right/center can be seen in the last line of the paragraphs. Increased margins to better demonstrate. The major problem you might run into is that CSS justification get creepy weird sometimes - because you cannot control kerning between individual words/letters; therefore, may have an increased case of widows and rivers. And, will not automatically hyphenate-split words.

pps. Upon closer inscpection - none - of my books appear to be rag-right; they are all justified. Be they downloads from Sony, PDF conversions, HTML conversions, Mobileread DLs, etc. Everyone one of them.

Last edited by jbruce; 03-26-2009 at 06:00 PM. Reason: added pps
jbruce is offline   Reply With Quote