Thread: Two requests
View Single Post
Old 03-19-2014, 11:05 AM   #13
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,445
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The problem with justification, is as has been pointed out that it is a block level property, not an inline one, and while it is certainly possible to detect the nearest surrounding block and slap the style="text-align: whatever" on it, this is not generally a good way to structure your code. You really should setup alignment at a global level with CSS and apply it to all blocks, with a few specific exceptions.
kovidgoyal is offline   Reply With Quote