Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 03:17 PM   #1
ElMiko
Fanatic
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 589
Karma: 65460
Join Date: Jun 2011
Device: Kindle Voyage, Boox Go 7
Can you reflow table rows across multiple screens?

I have a fairly long table with fairly lengthy rows. Depending on screen-size, the rows could be longer than the screen height.

When viewing this epub2 in KOReader, the program will automatically move rows that are too long to fit in the remaining screen space onto the next screen. Obviously this a) creates unsightly gaps in the text, and b) potentially creates unrenderable text if the row proves taller than the screen height.

Is there a way to CSS my way out of this? Ideally, something that lets the row partially reflow onto the next screen rather than moving the whole row?
ElMiko is online now   Reply With Quote
Old Today, 04:04 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,901
Karma: 154365287
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
There is a way around it. Make each line or a few lines a separate row with no lines. Then it would split as it needs to.
JSWolf is online now   Reply With Quote
Advert
Old Today, 05:54 PM   #3
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 333
Karma: 3200122
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
If it were me, I’d wrangle some kind of regex search that changes all the td’s and tr’s to divs or something, and then restyle the whole thing as something other than a table. It sounds like it’s far too dense to be handled as one, though it’s possible I’m visualizing it wrong.

You might could accomplish something similar without messing around in the markup by just tinkering with display rules in the CSS, though it may not work if KOReader handles row breaking in a way that can’t be overcome.
phillipgessert is offline   Reply With Quote
Old Today, 06:49 PM   #4
ElMiko
Fanatic
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 589
Karma: 65460
Join Date: Jun 2011
Device: Kindle Voyage, Boox Go 7
@JSWOLF - making a separate row every 3-4 words would technically solve the problem of text becoming potentially unrenderable, but YIKES would it look awful and be insanely cumbersome given that these cells sometimes contain more than a hundred words...

@phillipgessert - Yeah, unfortunately, I'm hoping there's a way to preserve the table format. Basically, i'm looking for some that would be the opposite of

Code:
page-break-inside: avoid;
ElMiko is online now   Reply With Quote
Old Today, 06:54 PM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,901
Karma: 154365287
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
You can't do it the way you want. My way is really the only way to do it. I'm saying to do it every few lines, not words.

Yes, it could be cumbersome to do this, but once done, it's done. You just have to make the spacing between the rows that should be one row small as possible.
JSWolf is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple rows in a column Fynjisx Calibre 5 08-18-2022 10:27 AM
Multiple Table of Contents AliceWonder ePub 18 08-30-2019 09:28 AM
Selecting multiple rows in Calibre amyk0202 Calibre 5 09-11-2014 11:50 AM
Multiple table rows for book in custom_column_x Man Eating Duck Development 4 03-14-2014 08:46 AM
iBooks: Avoid page breaks within table rows/cells ckirchho ePub 7 06-12-2012 04:11 PM


All times are GMT -4. The time now is 06:56 PM.


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