Skip to main content
Hosun
Inspiring
December 18, 2022
Answered

alignment of table

  • December 18, 2022
  • 1 reply
  • 6564 views

Hi,

 

There is a table in Id.

 

I exported it to EPUB.

The table looks OK on iPhone (Books app).

There is an alignment issue on Mac (Books app).

 

Do you have any comment on it?

 

Hosun

This topic has been closed for replies.
Correct answer James Gifford—NitroPress

I went to the Dreamweaver Community.

https://community.adobe.com/t5/indesign-discussions/arrange/m-p/13444068#M508609

 

They recommended z-index, but it didn't work for table.

The people in Dreamweaver Community are usually ardent in giving solutions.

My case seems a little unusual to anyone.

 

I will do the last try with collapse.

 

Thank you very much for your help.

 

Hosun

 

 


And here's some interesting findings. I find that both border-collapse and empty-cells work in EPUB (Calibre/Thorium):

This is a table with borders defined red, cell borders defined blue, collapse set to 'separated' and two cells left empty.

 

Kindle does not honor empty-cells but does follow everything else. Making your borders all 0/none/white and using these two commands might allow you to style the table the way you want, with slight white separation between the colored cells for definition.

 

1 reply

Derek Cross
Adobe Expert
December 18, 2022

Most ePub creators suggest that in a Reflowable ePub you should use an image for tables.

Hosun
HosunAuthor
Inspiring
December 18, 2022

Would you tell me how I can treat table like image?

 

Hosun

Derek Cross
Adobe Expert
December 18, 2022

Save it as a JPG (or take a screen-shot if that's difficult for you).