08-07-2012, 09:51 AM | #1 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Mar 2011
Device: Kindle
|
Table foot element displays strangely in ADE
Hi there -
I'm having some strange results when setting up a table in InDesign that includes a "table foot". In the HTML that comes out of InDesign on export to EPUB, the table foot element is just below the table head element, then follows a tbody element with all the rest of the table. When viewed in browsers like Chrome and Firefox and software like Sigil this displays fine - the foot is displayed at the bottom of the table, separated from the table head by all the stuff in the body. But in Adobe Digital Editions the foot is displayed just below the table head, followed by the body. Is this something unique to ADE or do other ereaders do this too? Should one avoid table foot when setting up a document? Not sure what happens to HTML tags when I insert them in posts here so bear with me... Table HTML looks like this when exported to EPUB from InDesign: <table id="table-1"> <thead> <tr> <td> <p >head</p> </td> <td> <p >head</p> </td> </tr> </thead> <tfoot> <tr> <td> <p >foot</p> </td> <td> <p >foot</p> </td> </tr> </tfoot> <tbody> <tr> <td> <p >1</p> </td> <td> <p >2</p> </td> </tr> </tbody> </table> |
08-07-2012, 10:21 AM | #2 |
frumious Bandersnatch
Posts: 7,516
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Tables are often a sure way to failure. While the ePub spec mentions thead/tfoot/tbody as supported tags, the (X)HTML spec doesn't mandate that anything special should be done with them, it just mentions things that can be done or user agents may do...
I'd say you should avoid tables when possible. |
08-08-2012, 08:33 AM | #3 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Mar 2011
Device: Kindle
|
Would love to avoid them, but client's books contain many tables
Anyone had experience with this? |
08-08-2012, 10:14 AM | #4 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Never worked with table foot or body. Simple tables work fine.
You are probably better of mimicking the look for the foot you want with CSS. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help with table in ADE | robach | ePub | 8 | 11-14-2011 04:30 PM |
My recipe works, but it looks strangely | kp63425362 | Recipes | 10 | 07-23-2011 12:27 AM |
issue with table headers in ADE | iain robinson | ePub | 2 | 07-08-2011 02:55 AM |
B&N Gothic Romance: The Strangely Beautiful Tale of Miss Percy Parker | Susan Crealock | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 06-16-2010 07:47 AM |
Wifi act strangely | rushkk | enTourage Archive | 9 | 06-09-2010 05:01 PM |