Welcome to the OzoneAsylum FaqWiki
Frequently Asked Questions
CSS

How do I insert page breaks into a webpage? Pages that link to <a href="https://ozoneasylum.com/backlink?for=5344" title="Pages that link to How do I insert page breaks into a webpage?" rel="nofollow" >How do I insert page breaks into a webpage?\

Strictly page breaks can't be added to a webpage and if you need exact page control then you would be better off with supplying a PDF of your page. However there are a few styles that can help you (they will only work on block-level elements):

@page {

page-break-before: auto | always | avoid | left | right | inherit

page-break-after: auto | always | avoid | left | right | inherit

page-break-inside: avoid | auto | inherit

}

----------------------------
Relevant threads:

Page Breaks

----------------------------
Relevant links:

www.w3.org/TR/REC-CSS2/page.html#page-breaks - the official details.

CSS and Printing

Page Breaks in Style Sheets

----------------------------
Relevant FAQs:

How do I create PDF files without Adobe Acrobat?

_____________________
Emperor

(Added by: Emperor on Fri 18-Oct-2002)

(Edited by: Emperor on Fri 18-Oct-2002)

« BackwardsOnwards »

Show Forum Drop Down Menu