|
CSS Print Reference
Print Properties
Printing HTML documents has always been problematic. In CSS2 the print
properties are added to make it easier to print from the Web.
The links in the "Property" column point to more
useful information about the specific property.
W3C: The number in the "W3C" column indicates in which CSS recommendation
the property is defined (CSS1 or CSS2).
| Property |
Description |
Values |
CSS |
| orphans |
Sets the minimum number of lines for a paragraph that must be left at the bottom of a page |
number |
2 |
|
marks
|
Sets what sort of marks should be rendered outside the page
box |
none
crop
cross |
|
|
page
|
Sets a page type to use when displaying an element |
auto
identifier |
2 |
|
page-break-after
|
Sets the page-breaking behavior after an element |
auto
always
avoid
left
right
inherit |
2 |
|
page-break-before
|
Sets the page-breaking behavior before an element |
auto
always
avoid
left
right
inherit |
2 |
| page-break-inside |
Sets the page-breaking behavior inside an element |
auto
avoid
inherit |
2 |
| size |
Sets the orientation and size of a page |
auto
portrait
landscape |
|
| widows |
Sets the minimum number of lines for a paragraph that must be left at the
top of a page |
number |
2 |
 |
W3Schools' Online Certification Program
The perfect solution for professionals who need to balance work, family, and career building.
More than 3500 certificates already issued!
|
The HTML Certificate documents your knowledge of HTML, XHTML, and CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
|