Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 10-11-2011, 06:43 PM   #1
blitzmd
Junior Member
blitzmd began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2011
Device: iPad
Converting epub to mobi removes value from li

The following is based on my understanding that the only way for a Kindle to display numbers for an ordered list <li> is to add value="" e.g. <li value="1">.

Therefore, I added value="" to my li tags in the xml of my epub. However, when I convert the epub using Kindle Previewer, the resulting .mobi file does not display any numbers for the list items.

How can I get Kindle Previewer to keep the numbering for li tags when converting epub to mobi?

Any help would be greatly appreciated.
blitzmd is offline   Reply With Quote
Old 10-11-2011, 07:00 PM   #2
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,534
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
The following is based on my understanding that the only way for a Kindle to display numbers for an ordered list <li> is to add value="" e.g. <li value="1">.
A Kindle will only display numbers for an ordered list (no alpha), so you shouldn't have to do anything special. The Kindle doesn't recognize a "value" attribute for the <li> tag... "class" or "id" are the only acceptable attributes for a <li> tag that I know of... in html that's going to be used to create a mobi for the Kindle, anyway.

Just use the standard <ol> and <li> tags without the extraneous attributes and I think you'll find that your lists will be properly numbered.
DiapDealer is offline   Reply With Quote
Advert
Old 10-11-2011, 11:16 PM   #3
blitzmd
Junior Member
blitzmd began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2011
Device: iPad
@DiapDealer Thanks for responding.

I had resorted to the value attribute because the standard <ol> and <li> tags weren't working. I simplified my css file and now the numbering is working.
blitzmd is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting EPUB to MOBI jwrourke Conversion 2 03-14-2011 12:22 PM
Converting epub to mobi Grahamk Conversion 3 02-01-2011 12:04 PM
Converting from Epub to Mobi kevinofengland Calibre 5 10-12-2010 07:23 PM
Converting from .epub to .mobi mapleleafs Amazon Kindle 18 08-18-2010 05:20 PM
Converting EPub to Mobi? CarolB Calibre 3 01-14-2010 11:09 AM


All times are GMT -4. The time now is 03:26 AM.


MobileRead.com is a privately owned, operated and funded community.