Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 08-07-2012, 09:51 AM   #1
Klip
Member
Klip began at the beginning.
 
Posts: 20
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>
Klip is offline   Reply With Quote
Old 08-07-2012, 10:21 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 5,997
Karma: 4346921
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.
Jellby is offline   Reply With Quote
Old 08-08-2012, 08:33 AM   #3
Klip
Member
Klip began at the beginning.
 
Posts: 20
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?
Klip is offline   Reply With Quote
Old 08-08-2012, 10:14 AM   #4
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,867
Karma: 2714881
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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.
Toxaris is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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, Freebies, and Resources (No Self-Promotion) 1 06-16-2010 07:47 AM
Wifi act strangely rushkk enTourage Archive 9 06-09-2010 05:01 PM


All times are GMT -4. The time now is 11:37 PM.


MobileRead.com is a privately owned, operated and funded community.