Using Calibre I have tried to use ´text-align: left´ in CSS but viewing the resulting epub-file with iBooks the result is still justified text. How can I change to left alignment?enter image description here

  • Do you have "Justify text" turned on in iBooks -> Preferences -> General? That will override the CSS settings.
    – beaker
    Commented Oct 28, 2018 at 15:54

1 Answer 1


I don't think text-align left and Justify text have anything to do with one another. Justification is usually controlled by the reading system, while text-align left is the default behavior for text. The css property text-align mainly has to do with alignment inside of a box (usually a single line). You could use another css property to scoot the text to the left or the right (margin, etc).

  • text-align does indeed distinguish left and justify (MDN). It is more likely a default setting is overriding this directive. More specificity (MDN) may override the default setting, would need to test.
    – rgchris
    Commented Nov 13, 2018 at 15:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.