View Single Post
Old 01-09-2015, 10:35 AM   #1147
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@jgoguen: The issue with this specific bit of CSS (the kobo stylehacks) is that (when present), it's inlined in each (x)html file, and not evacuated to an external CSS, so we can't (easily) use the same mechanism as for the JS ;/.

----

To illustrate my previous message, I forgot to mention that those books of course use 0 padding & margin, and yet, no cut-off... :?

The code basically looks like

Code:
<body>
    <div class="galley-rw">
        ...
    </div>
</body>
Code:
.galley-rw { padding: 0; font-size: 1em; font-weight: normal; color: rgb(0, 0, 0); orphans: 1; widows: 1; letter-spacing: 0; word-spacing: 0; font-family: serif; margin: 0; line-height: 1.2em; text-align: justify; }
FWIW, that's the book.
Attached Thumbnails
Click image for larger version

Name:	pack.png
Views:	255
Size:	124.7 KB
ID:	133575  

Last edited by NiLuJe; 01-09-2015 at 10:39 AM.
NiLuJe is offline   Reply With Quote