Quote:
Originally Posted by DiapDealer
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
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
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