Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Tables lose width preferences in Epub and Mobi

Return to Member Forum

  • Author
    Posts
    • #113975

      I’m having a weird issue with one of my tables… In Indesign I have a two-column table evenly split between the two columns across the page, so they are the same size. However, in Mobi, when resizing the window, the right column is the only one that reflows/resizes, and the left column stays skinny. Looks really weird when they are supposed to be even. It also happens in Epub. Here’s a screenshot: https://jmp.sh/lku1DAM

      I have the same cell properties/styles assigned to both columns so I’m not sure why one would be different. Is there a setting or preference I’m missing?

      Thanks in advance!

    • #113977
      Aaron Troia
      Participant

      I’m not sure if InDesign exports with column widths for tables, or if it does, it just guesses depending on the content? I dont know. I havent exported with their CSS in awhile so say for certain. I have found that in the HTML giving my tables specific column widths helps lock them to the widths I want. so for a two column I would do something like,

      <table>
           <colgroup>
                <col style="width:50%"/>
                <col style="width:50%"/>
           </colgroup>
         ...
      

      I actually have a number of these column widths set as styles within my custom stylesheet so I can customize them depending on how many columns and content. I’m not sure if table styles allow for setting custom column widths within InDesign so it might have to be done after export.

Viewing 1 reply thread
  • The forum ‘EPUB and eBook’ is closed to new topics and replies.
Forum Ads