View Single Post
Old 07-21-2009, 02:32 PM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,398
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Jellby View Post
But they have "screenfuls", even if the screen has a scroll bar. Just like they have lines, and there is a ":first-line" pseudo-element in CSS, there could be a ":first-page" or something for paged media.
My point was that applying special formatting to "first pages" only makes sense in a non reflowable context. Rather than trying to replicate that blindly ina reflowable context it should be "translated". For example, instead of using "first page", use "first paragraph" or "first section" or "first block (enclose in a div and set its margins)"

The last solution is probably the best. IIRC calibre when converting it will convert to <blockquote> in MOBI which actually does allow margins.
kovidgoyal is offline   Reply With Quote