View Single Post
Old 10-01-2011, 09:53 AM   #1
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
Consistent styling of LI tags in ePubs

Is there a way to produce a consistent left-margin indent of LI items within ePub documents? The attached images show LI items rendered in ADE and calibre book viewer with a left-margin:1.5em setting on the OL tag.

The margin is rendered much larger in calibre viewer than ADE, almost as though ADE is setting the margin for the actual text of the LI item, (then displaying the list number to its left), and calibre is setting the margin for the list item number, (then displaying the text to its right).

I don't know if there's a right or wrong about this but I would like to produce ePubs which display as similarly as possible on different devices.
Attached Thumbnails
Click image for larger version

Name:	LI-ade.gif
Views:	254
Size:	9.4 KB
ID:	77212   Click image for larger version

Name:	LI-cal.gif
Views:	253
Size:	4.9 KB
ID:	77213  
Agama is offline   Reply With Quote