![]() |
#1 |
Member
![]() Posts: 13
Karma: 10
Join Date: Mar 2025
Device: Kobo Libra Colour
|
table captions not displayed correctly
Hello,
I have several ePubs which are rendering "table captions" incorrectly by displaying the text vertically. The problem exists both on the ereader (Kobo) and in Calibre ePub viewer, so I guess it must be a code issue. Please refer to the screenshots to visualize the problem. Any suggestion where I could start my investigation to fix that issue? Thanks in advance for your support. |
![]() |
![]() |
![]() |
#2 |
Member
![]() Posts: 13
Karma: 10
Join Date: Mar 2025
Device: Kobo Libra Colour
|
more info...
Some more info about the styles... (after Calibre conversion)
Last edited by fdread; 04-03-2025 at 06:21 AM. Reason: fixed attachments |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,380
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
How many columns are in the table?
How wide are the columns? I think what has happened is that there are too many columns so their width has been reduced forcing text to be wrapped. Rather than displaying a screen shot of the CSS, it might be more useful to display the actual table definition (and ideally in a copy / paste from the ebook source and not as a screen shot). Sent from my Pixel 7a using Tapatalk Last edited by PeterT; 04-03-2025 at 09:35 AM. |
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 13
Karma: 10
Join Date: Mar 2025
Device: Kobo Libra Colour
|
Thanks. Here is what the full table looks like. The table itself is fine, only the "caption" has the issue
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 13
Karma: 10
Join Date: Mar 2025
Device: Kobo Libra Colour
|
update:
I found that in the "less_space" class, there is a parameter "white-space: pre-wrap;". If I comment out that line, the formatting is correct. Now trying to find out what that line means... but I actually have a solution :-) |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Magazine PDF not displayed correctly | TOMillr | Calibre | 3 | 07-25-2024 05:28 PM |
special characters(?) not being displayed correctly | 2nise | Tolino | 2 | 04-12-2021 09:49 AM |
Cover Only Displayed Correctly on MOBI but not EPUB | dwal | Conversion | 3 | 03-01-2013 01:26 PM |
arabic not displayed correctly after converting with calibre | mhmohamadi | Apple Devices | 0 | 05-23-2010 02:26 PM |
PRS-600 Are Romanian diacritics displayed correctly? | Laurentiu | Sony Reader | 3 | 11-25-2009 03:36 PM |