Journal Calendar
<mar 2003>
SMTWTFS
      1
2 3456 78
910 1112 13 1415
16171819202122
23 242526272829
3031     

Page Published [13-MAR-2003]

Adding Page Breaks to HTML Documents

Using the CSS style attribute "page-break-before" you can place page breaks within your document, enabling the web designer to control how the document prints.

For example you could add them to <hr> tags as an in-line style or as part of your external CSS document.

SYNTAX

INLINE STYLE

<hr style="page-break-before: always">

OR IN CSS

hr {page-break-before: always;}

Compatible with Internet Explorer 4 upwards and Netscape 6/Mozilla.

W3 Schools reference to "page-break-before"

Journal Entry Posted @ 13:19 GMT


Journal Index