|
|
#1 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 297
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
Tables cut off at bottom of screen
I'm using EPUB, not KEPUB, if that matters. The book displays perfectly in the Calibre viewer and also in Adobe Digital Editions, but on my Kobo Clara, some entries in tables cut off at the bottom of the screen before the text is finished, so some of it can't be read.
I've never dealt with tables before in an ebook so I have no clue what I'm doing. (I didn't build these, this is a self-published ebook I bought.) The start of the table looks like this Code:
<table class="class_sfp"><tbody class="calibre2"><tr class="class1"><td class="class_s6a">Advantages</td><td class="class_s6a">Disadvantages</td></tr>
.class_sfp {
border-bottom-color: gray;
border-collapse: separate;
border-left-color: gray;
border-right-color: gray;
border-spacing: 2px;
border-top-color: gray;
display: table;
margin-bottom: 0;
margin-top: 0;
text-align: justify;
text-indent: 0;
}
.calibre2 {
display: table-row-group;
vertical-align: middle;
}
.class1 {
display: table-row;
font-weight: 800;
vertical-align: inherit;
}
.class_s6a {
display: table-cell;
text-align: inherit;
vertical-align: top;
padding: 0.0375em 0.117%;
}
Code:
This is one of the entries that cuts off at the bottom of the screen
<td class="class_s6a1"><p class="class_s2k">I am not actually very attractive. I’m a dull black color without much texture. Arilash is a dull tan color without much texture. Roroku is a dull green color without much texture. And so on. Compare that to the drakes: Nrararn with his twirly horn and incandescent mane and pretty cerulean color, Greshthanu with his garden of blue and orange spikes, etc. etc. etc.</p><p class="class_s2k">This is <span class="class_s5v">really</span> just the same as songbirds. Females are dull colors to avoid attracting attention. Males are bright colors to attract attention: attention of <span id="page_30"></span>females, attention of predators, whatever.</p><p class="class_s2k">But I’m not a stupid little <span class="class_s5v">songbird</span>. I’d like to look exciting and dramatic. Again, I could shapeshift or use cosmetic spells the way drakes do, but everydragon can tell that they’re there and pretty much can tell what I really look like too so it doesn’t help.</p></td></tr>
.class_s6a1 {
display: table-cell;
text-align: inherit;
text-indent: 1em;
vertical-align: top;
padding: 0.0375em 0.117%;
}
.class_s2k {
display: block;
line-height: 1;
margin: 0;
}
Is there a way to make the entries carry over, or some other way to fix this? |
|
|
|
|
|
#2 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,704
Karma: 154365285
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Which firmware are you running?
|
|
|
|
|
|
#3 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 297
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
|
|
|
|
|
|
#4 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55,890
Karma: 182837452
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I think was Jon was asking is if you are running the 4.46 firmware or the 6.0 firmware. You should see this in More => Settings => Device information on the software version line.
|
|
|
|
|
|
#5 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 297
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
Welp, thanks DNSB!
Software version is 44.44.23552. |
|
|
|
|
|
#6 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55,890
Karma: 182837452
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
You might want to upgrade to 4.46.23852 but that should have little effect on your issue. Tables which have a rigid structure and reflowable ePubs are not a good match. The last time I needed to use tables, I ended up creating an image of the table and embedding the image.
You may also want to try sending the book as a kepub to see if the Kobo renderer does better at displaying a table that splits over multiple pages. |
|
|
|
|
|
#7 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 297
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
Quote:
|
|
|
|
|
|
|
#8 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,704
Karma: 154365285
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Making the table into an image won't work well unless the table is high enough resolution or you won't be able to read it will enough. RMSDK does not have a zoom on images. KePub does.
|
|
|
|
|
|
#9 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,704
Karma: 154365285
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Here is the code for a table that splits across pages in ADE/RMSDK.
HTML Code:
<?xml version="1.0" encoding="utf-8"?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Just One Damned Thing After Another</title> <link href="../Styles/style.css" rel="stylesheet" type="text/css"/> </head> <body> <table cellpadding="0" cellspacing="0"> <tr> <td colspan="2" valign="top"> <p class="tnoindent2"><b>Dramatis Thingummy</b></p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Dr Edward Bairstow</p> </td> <td valign="top"> <p class="noindent1">Director of St Mary’s. Tall, authoritative. Early 50s. Holds together a volatile mix of technicians, historians, kitchen staff, security teams and the sometimes explosive Research and Development Section.</p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Mrs Partridge</p> </td> <td valign="top"> <p class="noindent1">PA to Director. Not to be crossed.</p> </td> </tr> <tr> <td colspan="2" valign="top"> <p class="tnoindent1"><b>Historians</b></p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Madeleine Maxwell (Max)</p> </td> <td valign="top"> <p class="noindent1">Historian. In her late 20s. Short, red-haired, engaging, impatient, self-deprecating, with a murky past and a precarious future.</p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Tim Peterson</p> </td> <td valign="top"> <p class="noindent1">Historian, late 20s. Tall and shaggy. A good friend.</p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Kalinda Black</p> </td> <td valign="top"> <p class="noindent1">Historian. Blonde and blue-eyed. Looks like a Disney princess. Possibly drinks the blood of recently qualified trainees. Recipient of Mr Dieter’s affections.</p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Sussman</p> </td> <td valign="top"> <p class="noindent1">Max’s fellow trainees.</p> </td> </tr> <tr> <td colspan="2" valign="top"> <p class="tnoindent1">Grant</p> </td> </tr> <tr> <td colspan="2" valign="top"> <p class="tnoindent1">Rutherford</p> </td> </tr> <tr> <td colspan="2" valign="top"> <p class="noindent">Stevens</p> </td> </tr> <tr> <td colspan="2" valign="top"> <p class="tnoindent1">Nagley</p> </td> </tr> <tr> <td colspan="2" valign="top"> <p class="tnoindent1">Jordan</p> </td> </tr> <tr> <td colspan="2" valign="top"> <p class="tnoindent1"><b>Technical Section</b></p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Leon Farrell</p> </td> <td valign="top"> <p class="noindent1">Chief Technical Officer. In his mid-30s. Dark hair, blue eyes, competent, calm, quiet.</p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Mr Dieter</p> </td> <td valign="top"> <p class="noindent1">Farrell’s number two. Built like a brick shi—a very large young man.</p> </td> </tr> <tr> <td colspan="2" valign="top"> <p class="tnoindent1"><b>Medical Team</b></p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Dr Helen Foster</p> </td> <td valign="top"> <p class="noindent1">Early 30s. Medical doctor and with the people skills of Vlad the Impaler. Recipient of Mr Peterson’s affections.</p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Nurse Hunter</p> </td> <td valign="top"> <p class="noindent1">Recipient of Markham’s dubious affections.</p> </td> </tr> <tr> <td colspan="2" valign="top"> <p class="tnoindent1"><b>Security Section</b></p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Major Ian Guthrie</p> </td> <td valign="top"> <p class="noindent1">Head of Security and whose unenviable task it is to keep St Mary’s safe, despite all their best efforts. Late 30s.</p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Mr Markham</p> </td> <td valign="top"> <p class="noindent1">Security guard. Small, grubby and disaster prone. Reputedly indestructible—which is just as well.</p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Mr Whissell</p> </td> <td valign="top"> <p class="noindent1">Nasty piece of work.</p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Big Dave</p> </td> <td valign="top"> <p class="noindent1">Murdoch Gentle giant.</p> </td> </tr> <tr> <td colspan="2" valign="top"> <p class="tnoindent1"><b>Research and Development</b></p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Professor Rapson</p> </td> <td valign="top"> <p class="noindent1">Head of R & D. Age unknown. Lives in his own world. Responsible for the destruction of the Clock Tower and the disastrous Icarus experiment. Apparently unaware of the properties of methane.</p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Doctor Dowson</p> </td> <td valign="top"> <p class="noindent1">Librarian and Archivist. Age unknown. Also not quite up to speed re methane.</p> </td> </tr> <tr> <td colspan="2" valign="top"> <p class="tnoindent1"><b>IT</b></p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Isabella Barclay</p> </td> <td valign="top"> <p class="noindent1">Head of IT. Professional bitch. Short, spiteful and redheaded. Gossip says she harbours an unrequited passion for Farrell.</p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Polly Perkins</p> </td> <td valign="top"> <p class="noindent1">Technician</p> </td> </tr> <tr> <td colspan="2" valign="top"> <p class="tnoindent1"><b>Others</b></p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Mrs Mack</p> </td> <td valign="top"> <p class="noindent1">Kitchen Supremo. Mid 40s.</p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Jenny Fields</p> </td> <td valign="top"> <p class="noindent1">Kitchen Assistant and dodo advocate.</p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Mrs De Winter</p> </td> <td valign="top"> <p class="noindent1">Retired schoolteacher.</p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Turk</p> </td> <td valign="top"> <p class="noindent1">Officially a horse.</p> </td> </tr> <tr> <td colspan="2" valign="top"> <p class="tnoindent1"><b>The Villain</b></p> </td> </tr> <tr> <td valign="top"> <p class="tnoindent1">Clive Ronan</p> </td> <td valign="top"> <p class="noindent1">Dark, non-descript, impassive and deadly.</p> </td> </tr> <tr> <td colspan="2" valign="top"> <p class="tnoindent1">Plus, assorted armies, raptors, stonemasons and hostile contemporaries too numerous to mention.</p> </td> </tr> </table> </body> </html> Code:
body {
widows: 1;
orphans: 1;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
text-align: justify;
}
p {
margin-top: 0;
margin-bottom: 0;
text-indent: 1.2em;
}
td {
padding-right: 1em;
vertical-align: top;
}
.noindent {
text-align: justify;
text-indent: 0;
margin: 0 0 0 0;
}
.noindent1 {
text-align: left;
text-indent: 0;
margin: 0.6em 0 0 0;
}
.tnoindent1 {
text-align: left;
text-indent: 0;
margin: 0.5em 0 0 0;
}
.tnoindent2 {
text-align: left;
text-indent: 0;
margin: 2.5em 0 0 0;
}
|
|
|
|
![]() |
| Tags |
| epub, kobo, tables |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Large images cut off at bottom of screen | Siavahda | Kobo Reader | 13 | 11-04-2026 06:50 PM |
| Font for converting book, tables cut off | Stedman | Conversion | 1 | 08-06-2023 11:40 PM |
| Aura {A1} Prevent tables and sentences cut off? | pluma | Kobo Reader | 4 | 01-27-2017 09:17 PM |
| How to prevent tables from being cut off? | pluma | ePub | 0 | 12-20-2016 04:36 PM |
| Since 1.9.10, text slightly cut off on very bottom line | danskmacabre | Kobo Reader | 33 | 01-13-2012 06:25 AM |