Contents | Start | End | Previous: KB0260: What are the limitations when importing from a Word DOCX file? | Next: KB0262: Working with absolute sizes for tables, boxes and images
See also: Working with absolute sizes for tables, boxes and images
You may be seeing over-sized images or other objects within tables, despite correctly specifying a width that is the percentage of the cell size. This occurs in Adobe Digital Editions or Bluefire Reader, and perhaps other viewers. Under-sized images may be appearing in Kindle books.
You may also be seeing this warning:
TIP (Jutoh): an object with relative width needs the parent cell to have a specified width, in document My Document.
The solution is usually to disable Use minimum size for cells. If you have images within table cells, it's a good idea to disable this for both Epub and Kindle configurations. If it's still happening, check that your cells have a specified width. Otherwise, try omitting the size from your image object.
The cause appears to be that if you specify a relative size in an object, the parent cell must have its width specified, or the viewer thinks that the object should be sized relative to the table or the whole display. On a Kindle, not specifying the cell width, but specifying a minimum width, can cause other sizing problems for the table.
The problem is exacerbated by the configuration options Replace absolute widths and Use minimum size for cells. The first replaces dimensions with percentages, and the second replaces cell widths with cell minimum widths.
Although generally it's a good idea for Epub files to use the cell minimum width instead of actual width, to avoid tables that overflow the display, it interacts with Replace absolute widths and bugs in some viewers to mess up object sizing. So disabling Use minimum size for cells allows any specified cell widths to be preserved, giving a parent size for the object to be measured against.
Contents | Start | End | Previous: KB0260: What are the limitations when importing from a Word DOCX file? | Next: KB0262: Working with absolute sizes for tables, boxes and images