05-31-2017, 02:03 PM | #1 |
Connoisseur
Posts: 60
Karma: 602194
Join Date: Apr 2017
Device: Ipad
|
Tables
I have several tables in my books, one having 7 columns and 30 rows. Does Epub recognise table css? If so, can someone suggest a stylesheet blurb for me to experiment with?
|
05-31-2017, 02:41 PM | #2 |
A Hairy Wizard
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Yes ePub recognizes table css, but device/app compliance is hit or miss. I would definitely not want to do 7 columns on a small cell-phone...they would never see anything.
I would recommend converting the way the information is displayed to a re-flowable format...or.... if you MUST use a table... then insert it as an image. |
08-29-2019, 01:52 PM | #3 | |
Wizard
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
Quote:
I've been foolishly assuming that the tables in the uploaded Mark Twain's Letters from Hawaii were coming out correctly and have discovered that on the Kobo, one, they aren't centered and I'm using auto on margin-left and margin-right, and two, columns that are supposed to be right justified are not, and three, if I use margin-top on the table tag it puts that space between the table and the caption even though the caption tag is enclosed by the table tags. Those things are working in ADE and Kindle Previewer 3 (but not on Kindle Previewer 2 but no surprise there). Here's my css for the numeric right justified columns: Code:
table.col2num td:nth-child(2) { text-align: right; } table.col3num td:nth-child(3) { text-align: right; } etc. |
|
08-29-2019, 02:07 PM | #4 |
Wizard
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
Eh, now that I've calmed down I guess I can see how to make the stuff re-flowable. For example, the 5 column table in the chapter "At Sea Again" I could say "The exportations in pounds for coffee for 1852 were 117,000, sugar 730,000, for 1865 coffee was 263,000 and sugar was 15,318,097." Is that what you'd do?
But some of the tables are long, and in another book I feel like the information is more easily digested in tabular form. Stupid Kobo. Last edited by lumpynose; 08-29-2019 at 02:10 PM. |
08-29-2019, 03:43 PM | #5 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
08-29-2019, 03:51 PM | #6 |
Wizard
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
|
Tags |
css, epub 3, tables |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using Tables? | Narrator | Conversion | 5 | 04-27-2016 07:37 PM |
Tables not looking just right | oiver55 | Sigil | 4 | 08-27-2015 07:51 AM |
Tables | Ephemerality314 | Development | 2 | 08-18-2015 11:34 PM |
TABLES: How do you think I should do this layout? | wannabee | Workshop | 19 | 05-29-2011 10:16 PM |
Need help with tables | Daithi | Amazon Kindle | 2 | 12-09-2008 02:10 PM |