![]() |
#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 01:45 PM. Reason: clarification |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13056777
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Why not just have this in your CSS:
Code:
td { text-align: justify; } |
![]() |
![]() |
![]() |
#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
|
![]() |
![]() |
![]() |
#4 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
|
![]() |
![]() |
![]() |
#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
|
![]() |
![]() |
![]() |
#6 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
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 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any way to change text justification? | neilio | Kindle Developer's Corner | 0 | 01-20-2014 10:10 PM |
Help with text justification | joeindallas | Recipes | 3 | 01-28-2011 10:24 AM |
Text Justification | ramjet1953 | Sigil | 1 | 11-07-2010 10:53 PM |
Text Justification | GSteer | Kobo Reader | 4 | 05-03-2010 01:55 AM |
Help with text justification | jament | Calibre | 4 | 11-10-2009 06:27 PM |