Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Making responsive tables in ePUB with InDesign

New Here ,
Nov 29, 2018 Nov 29, 2018

Hello there, is there anyway to make responsive tables with InDesign when you export to ePUB ?

TOPICS
EPUB
1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2018 Nov 29, 2018

Moving to InDesign EPUB forum

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2018 Nov 29, 2018

Tables are just not responsive. The best thing I can offer is the suggestion to set it to be scrollable on smaller screens.

Add a class to the table and then add some CSS

Something like this:

@media only screen and (max-width: XXXpx) {

.table-class-name {

overflow: hidden;

overflow-x: scroll;

display:block;

}

}

You’ll need to experiment with it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 29, 2018 Nov 29, 2018

Thanks Bob, I've been using that code, but it isn't working. When I'm editing the ePUB, there's a specific table style to the tabels. When I export, the class "table_style" goes to the td and tr tags, not only to the table tag. Could it be the error ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2018 Nov 29, 2018

Without examining the markup in the HTML and the CSS it's impossible for me to say. Some of it will depend on the reader app, too.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 30, 2018 Nov 30, 2018

Is it possible that in some readers it works and others it doesn't ? Which reader do you recomend ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 30, 2018 Nov 30, 2018

The books app on iPad and iOS to start with.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 30, 2018 Nov 30, 2018
LATEST

Any really good readers to Windows ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines