View Single Post
Old 04-11-2018, 12:25 AM   #17
wlashack
Member
wlashack began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Mar 2018
Device: none
Quote:
Originally Posted by Tex2002ans View Post
... mostly because the code generated from that Google Doc is horrifying. There is a giant block of hundreds of CSS classes all smushed together into a single line, and who knows what is in there:
Side Note: The CSS alone is about 6 times larger than your actual text... talk about a bloated mess!
Fortunately if you open Google Docs .epug file in calibre and push "Convert Books" button, you get the standard structure - HTML document + stylesheet.css where all styles are written one-by-one in an "intelligent" way.

Quote:
Originally Posted by Tex2002ans View Post
I'm assuming what's causing the odd page breaks is the page-break-after:avoid floating around in there.
Thanks, I will try to remove these definitions.
wlashack is offline   Reply With Quote