Archive of UserLand's first discussion group, started October 5, 1998.

Control over page breaks via CSS

Author:Anita Rowland
Posted:2/9/1999; 8:19:03 AM
Topic:Getting Started Guide to Frontier
Msg #:2775 (In response to 2752)
Prev/Next:2774 / 2776

"I don't have control over page breaks, unfortunately"

This is a part of CSS, and is supported in IE 4 and over. It degrades gracefully (browsers that don't understand it should just ignore it).

http://www.w3.org/TR/REC-CSS2/page.html#page-break-props

what's supported in IE: http://www.microsoft.com/workshop/author/dhtml/reference/properties/pageBreakAfter.asp#pageBreakAfter http://www.microsoft.com/workshop/author/dhtml/reference/properties/pageBreakBefore.asp#pageBreakBefore

so you could style a heading level via a class, for instance, if you wanted to always break before it.

Anita Rowland Anita's Book of Days




This page was archived on 6/13/2001; 4:47:49 PM.

© Copyright 1998-2001 UserLand Software, Inc.