View Single Post
Old 11-08-2011, 07:14 AM   #12
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,691
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
A negative number in the text-indent attribute IS supported in mobi (or at least mobi's built by kindlegen), they just don't work in conjunction with the left-margin being greater than zero.

You can create a hanging indent by using "text-indent: -16px", but it will be left-aligned (no left margin).

You basically have to choose between a hanging indent or a left margin. To get both, you'd have resort to images of text or manually building your paragraphs with combinations of <br /> and &nbsp; (which might behave badly when users increase font-size).

Quote:
Originally Posted by virtual_ink
I'm using the recent 2011 $79 Kindle, not sure if earlier models will render differently. Touch wood, if it works accross the board, its so simple.
I can verify that it works as far back as the Kindle 2.

Last edited by DiapDealer; 11-08-2011 at 07:28 AM.
DiapDealer is offline   Reply With Quote