Contents | Start | End | Previous: KB0339: How do I use a specific font for drop caps? | Next: KB0341: How do I rename a project?


KB0340: Why do my tables not fit on the page in some viewer applications?

You may find that some of your tables extend off the right-hand side or bottom of the page in some but not all reader software. You might see these problems in Adobe Digital Editions, or Kindle for PC/Mac.

Here are some things to check.

  1. Do any of your cells contain unnecessary text boxes? This can cause rendering problems. To remove the text boxes, ensure Text Highlighting is enabled in the View menu. Go through your tables looking for text boxes, shown with a thin grey guideline. You can use the Inspector to find tables and boxes in your book. To remove a box, right-click (control-click on Mac) over the box and choose Remove Box.

  2. Do your tables or columns have fixed widths? In the table properties, try resetting column widths and clearing the table width. If you need to set a width, use a percentage of the display width. Jutoh tries to convert dimensions in cm to percentages using the configuration option Replace absolute widths. It bases the calculations on the paper width specified in your configuration, using either Paper size or Custom paper width. It also uses the Left margin and Right margin options to calculate the available size on the page, so if you want to keep absolute dimensions in your tables, try reducing these values and/or increasing the paper width value, to produce smaller relative values.

  3. Are your tables appropriate for small devices? Would the tables benefit from being turned into lists? Can you at least reduce the number of columns? Also consider reducing font size in cells.

  4. Do you have tables inside boxes? Boxes can prevent large tables wrapping onto the next page. For your Epub configurations, ensure Maximum box words for inline-block and Maximum table rows for inline-block are set to zero to favour page breaking over centering. For OpenDocument configurations, check Remove boxes containing tables. Boxes with no margins (and that aren't floating left or right) will be removed.

  5. For ODT files, if you can't prevent large tables breaking between pages, you can do two things to mitigate the problem. Right-click over your table (control-click on Mac) and click Table to edit its properties. Check Repeat header and specify the number of rows that comprise the header of your table. Now when the page breaks in LibreOffice/OpenOffice, the header will be repeated on the next page. Also, click Advanced in the table properties and search for Page break inside. Set this value to "avoid". This will tell the word processor to try to fit the table on one page by starting a new page if necessary - if the table still doesn't fit, it'll break the table as usual.


Contents | Start | End | Previous: KB0339: How do I use a specific font for drop caps? | Next: KB0341: How do I rename a project?