09-19-2014, 12:17 PM | #1 |
Member
Posts: 86
Karma: 12586
Join Date: Nov 2012
Device: Ipad and Kindle Fire
|
Mobi - Text justification in Tables
I want to edit a kindle book containing a large number of tables with justified text. The text alignment has been set in the CSS by giving a class to the td tag. The text appears justified on Kindle e-ink but is unjustified on Kindle fire and on Kindle app. Is there a way a simple way to make the text appear justified across all devices? I suppose if I added a <p> tag with a class to each cell of text, it might give me more control, but there are an awful lot of table cells in this document.
Last edited by verydeepwater; 09-19-2014 at 12:45 PM. Reason: clarification |
09-19-2014, 04:10 PM | #2 |
Wizard
Posts: 2,303
Karma: 12126963
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Why not just have this in your CSS:
Code:
td { text-align: justify; } |
09-19-2014, 05:12 PM | #3 |
Member
Posts: 86
Karma: 12586
Join Date: Nov 2012
Device: Ipad and Kindle Fire
|
As I said this works only with e- ink kindles
|
09-19-2014, 08:20 PM | #4 |
Bookmaker & Cat Slave
Posts: 11,482
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
|
09-21-2014, 06:43 AM | #5 |
Member
Posts: 86
Karma: 12586
Join Date: Nov 2012
Device: Ipad and Kindle Fire
|
The td (table cells have classes, with text align set to justify. In a browser all looks fine but on opening in kindle fire, the cells are arranged left. There is no problem with the epub version of this book - all table text is justified. For some reason the kindle fire is not following the CSS for text alignment within tables. I wonder if anybody else has had this problem
|
09-21-2014, 05:22 PM | #6 | |
Bookmaker & Cat Slave
Posts: 11,482
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
Tags |
kindle fire, tables, text-alignment |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any way to change text justification? | neilio | Kindle Developer's Corner | 0 | 01-20-2014 09:10 PM |
Help with text justification | joeindallas | Recipes | 3 | 01-28-2011 09:24 AM |
Text Justification | ramjet1953 | Sigil | 1 | 11-07-2010 09:53 PM |
Text Justification | GSteer | Kobo Reader | 4 | 05-03-2010 12:55 AM |
Help with text justification | jament | Calibre | 4 | 11-10-2009 05:27 PM |