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.