View Single Post
Old 11-04-2024, 08:54 PM   #2
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,814
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by BRupp View Post
Hi! I hope someone can help me.

I made a book in InDesign and exported to reflowable EPUB. It has a lot of tables. On some of my longer tables the table splits in the middle of a row and often cuts the words where the top half of the word is on one page and the bottom half is on the next page.

Any idea on how to fix it? Please explain simply. I’ve been using oxygen for editing but can use Sigil or Calibre if that would be easier.

Thanks in advance!
Give the text inside a table-cell the property "display: inline-block". You should have something like (in your xhtml file):

Code:
<tr>
  <td><p class="nb">blah, blah, blah...., blah</p></td>
</tr>
where the style "nb" would be:

Code:
.nb {
  display: inline-block;
}
Since I don't know how is your table, maybe you should also include inside the style "nb" the property "width: 100%".
RbnJrg is online now   Reply With Quote