Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-03-2025, 05:53 AM   #1
fdread
Member
fdread began at the beginning.
 
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.
Attached Thumbnails
Click image for larger version

Name:	calibre-parallel_A9EXT20LHe.png
Views:	54
Size:	18.2 KB
ID:	214826   Click image for larger version

Name:	calibre-parallel_Z0i5VpvVQZ.png
Views:	54
Size:	10.8 KB
ID:	214827  
fdread is offline   Reply With Quote
Old 04-03-2025, 06:20 AM   #2
fdread
Member
fdread began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Mar 2025
Device: Kobo Libra Colour
more info...

Some more info about the styles... (after Calibre conversion)
Attached Thumbnails
Click image for larger version

Name:	calibre-parallel_A9EXT20LHe.png
Views:	54
Size:	18.2 KB
ID:	214830   Click image for larger version

Name:	calibre-parallel_aI5V1kI657.png
Views:	52
Size:	13.2 KB
ID:	214831   Click image for larger version

Name:	calibre-parallel_gSTlCuJ4av.png
Views:	56
Size:	20.7 KB
ID:	214832  

Last edited by fdread; 04-03-2025 at 06:21 AM. Reason: fixed attachments
fdread is offline   Reply With Quote
Advert
Old 04-03-2025, 09:33 AM   #3
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
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.
PeterT is offline   Reply With Quote
Old 04-03-2025, 09:41 AM   #4
fdread
Member
fdread began at the beginning.
 
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
Attached Thumbnails
Click image for larger version

Name:	calibre-parallel_3KOBSN14M3.png
Views:	62
Size:	72.1 KB
ID:	214835  
fdread is offline   Reply With Quote
Old 04-03-2025, 10:44 AM   #5
fdread
Member
fdread began at the beginning.
 
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 :-)
fdread is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 03:10 PM.


MobileRead.com is a privately owned, operated and funded community.