These Style Sheet printing extensions are aimed at documents that will use the <STYLE MEDIA="print"...>
style sheet setting, specifying the style sheet as being suitable for printed documents. Note that the printing extensions are only a recent addition to Style Sheets and are claimed to be supported by Internet Explorer 4.0.
page-break-after
Value: auto | always | left | right
Initial: auto
Applies to: block-level elements outside of tables
Inherited: no
Percentage values: N/A
The values are:
As an example, a hard page break may be inserted in the document with the BR tag as follows:
<STYLE>
BR.page { page-break-after: always }
</STYLE>
...
<BR CLASS=page>
...
If there are conflicts between this property and the 'page-break-before' value on the previous element (as formatted on the canvas), the value that results in the largest number of page breaks will be used.
Note: a way to suppress page breaks after an element is currently under discussion by the W3C, but the syntax is not yet defined.
page-break-before
Value: auto | always | left | right
Initial: auto
Applies to: block-level elements outside of tables
Inherited: no
Percentage values: N/A
The values are:
As an example, a page break may be inserted in the document before all H1 elements:
<STYLE>
H1 { page-break-before: always }
</STYLE>
...
<H1 CLASS=chapter>
...
If there are conflicts between this property and the 'page-break-after' value on the next element (as formatted on the canvas), the value that results in the largest number of page breaks will be used.
Note: a way to suppress page breaks before an element is currently under discussion by the W3C, but the syntax is not yet defined.
© 1995-1998, Stephen Le Hunte
file: /Techref/language/html/ib/Style_Sheets/prinpro.htm, 3KB, , updated: 2004/3/1 15:47, local time: 2024/11/15 12:19,
3.149.252.8:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/techref/language/html/ib/Style_Sheets/prinpro.htm"> Printing properties</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.