page-break-before

Lars Knoll lars at trolltech.com
Mon Jul 15 10:33:19 BST 2002


> Does anyone know if Konquerer/KHTML supports the various
> page break tags for CSS? I'm currently trying something
> like:
>
> h1 {
>     page-break-before: always;
> }
>
> or
>
> div.section {
>     page-break-after: always;
> }
>
> This doesn't behave as expected (i.e. it doesn't give a
> page break). Some print media tags are supported (since if

No, page-break-before and after are not implemented currently.

> I have a stylesheet of media="print", the printed version
> will use different colour schemes to the screen version.
> However, I'm not sure whether it's my CSS at fault, or
> Konqueror.

The print media type is implemented, to you can use a different style sheet 
for printing.

Cheers,
Lars

> I'm using KDE 3.0, so if this support has been added since
> then, then I've found a good reason to upgrade.





More information about the kfm-devel mailing list