View Single Post
Old 07-17-2009, 09:16 AM   #14
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,315
Karma: 4963983
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by rogue_ronin View Post
But you don't like it, and I think if I were using image backgrounds for my headers I wouldn't like it either... Hmmm. Is it occurring on your reader, in your browser, where? Can you point to a spec that defines it? Crazy question: can you add bottom margin to the pseudo-class? (BTW, why don't you like it?)
I don't like it in some cases. An example: An ebook that's a collection of several other books has, for each of them a title page, and after the title page a dedication. I want the dedication for each book to be in another page, but not flushed to the top, I want a generous top margin above the dedication, that means I cannot use "page-break-before: always" in a div.dedication class. I could, since I'm talking about ePUB, have a file for the title page and a separate file for the dedication, but I don't like so many files either

As for the spec, it's here (for CSS2.1). Last time I saw it (because someone told me, I think it was Peter Sorotkin?) I don't remeber it saying that the margin-top could be retained after a forced pagebreak, or the CSS3 "preview" (though the current draft doesn't say anything), but maybe I read another version. Anyway, it seems ADE sets margin-top to 0 after a forced pagebreak, which is what I don't like.

Last edited by Jellby; 07-17-2009 at 09:19 AM.
Jellby is offline   Reply With Quote