View Single Post
Old 03-08-2015, 03:36 PM   #3
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by eschwartz View Post
lists in ereaders are a big hassle, since many ereaders do not seem to support it very well. e.g. my Kindle randomly restarts from item one every once in a page turn or three.
If you're okay with attributes that were deprecated in HTML 4 and then un-deprecated again in HTML 5, you can specify the value attribute on your li tag. That has the advantage of giving you a proper list style where the number is above whitespace if it spans multiple lines (without having to trust readers to properly handle negative distances in CSS), but should guarantee that no conforming renderer can screw up the numbering even if it loses track of the preceding elements. (Then again, Kindle always finds a way, so.... )
dgatwood is offline   Reply With Quote