View Single Post
Old 09-16-2016, 05:40 PM   #21
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by DiapDealer View Post
I've never run into css like that in any epub, quite frankly. Its weirdness aside; absolutely none of it seems to be being applied to the epub's xhtml. Not that I can make out anyway.
Thank Goodness. I thought that all my admin time away from the day-to-day had dulled my wits. (No cracks, boys.)

Quote:
Originally Posted by JSWolf View Post
One thing to do is take the ePub and load it into Calibre's eBook editor and remove all unused CSS entries. Then see what's left.
Ixnay, Jon. Nix gots.

Quote:
Originally Posted by DiapDealer View Post
There's nothing left, Jon. That's what I just said. None of the styles in the external sheet are being used. All styles being applied are inline (and on a per-element basis).
Yep. There ISN'T anything else except inline stuff that isn't very helpful, either. The usual "line-height =x" and that's about it.

[page]The named @page types are being properly created in the external style sheet, but the div class selectors they're being assigned to don't exist in the xhtml. The linked, external stylesheet is utterly extraneous.[/QUOTE]

Right. It's like...it's like somebody took a CSS sheet from a fixed-layout ePUB, somewhere, and slapped it in a...I dunno, Mobipocket Creator HTML file (zip) and didn't bother to make the named classes appear in the HTML, or vice-versa. It's bloody WEIRD, Jon.

Hell, you're a big kid, open it and look. It's bizarre. I'm telling you, the CSS from book A, and the HTML from Book Zed. With NOTHING connecting them.

Hitch
Hitch is offline   Reply With Quote