06-16-2011, 04:53 AM | #1 |
Member
Posts: 10
Karma: 444
Join Date: Jun 2011
Device: kindle
|
How to get a well-formatted table on my kindle
Hi everyone!
Currently, I am trying to create a mobi-file to use with my kindle that should include a nicely formatted table. What I want to do is: - horizontally center the table on the "page" - center the content of each cell of the table - define table cell's width - change the background-color of single cells I found a document in the German amazon-kindle store that contains such a well formatted table. I downloaded a drm-free sample to my kindle and tried to "reengineer" it by converting it to epub using calibre and then trying to figure out what the author did. When I tried to re-convert the epub to the mobi-format and reviewed it on my kindle all the nice formating was gone! The author somehow managed to achieve ALL of the goals mentioned above. But obviously he took another approach than I did creating the document. I use Sigil to create the epub and then convert it to mobi using calibre. I tried using css as well as using html-tags right insinde the <table>-tag. Unfortunately this does not give me the results I am shooting for. Any ideas how I might achive my goal??? Should I create a mobi from scratch using Mobipocket Creator? |
06-16-2011, 01:08 PM | #2 |
Wizard
Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
|
Did you try using mobi2html instead of converting first? That might give you more insight into the mobi formatting.
|
Advert | |
|
06-16-2011, 01:18 PM | #3 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Tables on Mobi are quirky to say the least. I've found from my own books that, for example, explicitly specifying cell widths will sometimes work and sometimes not, seemingly completely at random. Centring - both of the table as a whole and of cell contents - should certainly work OK.
Best not to use CSS, because Mobi doesn't support it - all that's happening with CSS is that the Mobi creation tool is trying (more or less successfully) to convert it to HTML tag attributes, so it's better to just code the attributes directly. |
06-18-2011, 02:09 AM | #4 |
Member
Posts: 10
Karma: 444
Join Date: Jun 2011
Device: kindle
|
|
06-23-2011, 08:08 PM | #5 | |
Enthusiast
Posts: 48
Karma: 10000
Join Date: Apr 2011
Device: iPad
|
Quote:
Now if only the .mobi format could be brought into the 21st century, and recognize style sheets. |
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle & Tech formatted kindle books? | Ncage1974 | Amazon Kindle | 7 | 02-09-2011 10:03 AM |
Content Atrociously formatted Kindle books. | DiapDealer | Amazon Kindle | 9 | 10-02-2010 01:45 AM |
Kindle formatted feeds | Zorz | Calibre | 8 | 01-21-2010 11:17 PM |
Books Particularly Well-Formatted for Kindle | geneven | Amazon Kindle | 11 | 11-05-2009 03:48 PM |
Princeton University to sell Kindle Formatted Textbooks | daffy4u | News | 16 | 06-27-2008 01:29 AM |