HTML and CSS Reference
In-Depth Information
Use the higher keyword to increase the elevation by 10 degrees over the
parent element's elevation ; lower changes the elevation of the sound to
10 degrees below the parent element's elevation .
8.4.13. Paged Media
Printing has never been HTML's strong suit. In fact, the HTML and
XHTML standards have intentionally ignored printing because printing
assumes page layout, and HTML and XHTML are not layout tools.
Authors use cascading stylesheets to format and lay out their HTML/
XHTML document contents, so it is not surprising that the CSS2 stand-
ard introduces some basic pagination control features that let authors
help the browser figure out how to best print their documents. These
features fall into two groups: those that define a particular page layout
and those that control the pagination of a document.
8.4.13.1. Defining pages
As an extension to the box model, CSS2 defines a page box , a box of fi-
nite dimensions in which content is rendered. The page box does not ne-
cessarily correspond to a physical sheet of paper; the user agent maps
one or more page boxes to sheets of paper during the printing process.
Many small page boxes may fit on a single sheet; large page boxes may
be scaled to fit on a sheet or may be broken across several sheets at
the discretion of the browser.
During the printing process, content flows into the page box, is pagin-
ated appropriately, and is transferred to a target sheet on a hard-copy
output device. The dimensions of the page box may differ from the
browser's display window, so the flow and rendering of a printed docu-
ment may be completely different from its onscreen representation. As
always, obtaining a specific rendered appearance for your documents is
generally impossible. However, you can use the CSS2 pagination fea-
tures to help the browser print your document in an attractive, useful
manner.
 
Search WWH ::




Custom Search