Page Properties
Property | Description | Possible Values | Examples |
---|---|---|---|
marks | Declares the type of marks to display outside the page box. | crop cross | @page { marks:crop; } |
orphans | Declares the minimum number of lines of a paragraph that must be left at the bottom of a page. | Integers | @page { orphans:2; } |
page | Declares the type of page where an element should be displayed. | Indentifiers | More Information |
page-break-after | Declares a page break. | auto always avoid left right | More Information |
page-break-before | Declares a page break. | auto always avoid left right | More Information |
page-break-inside | Declares a page break. | auto avoid | More Information |
size | Declares the size and orientation of a page box. | Lengths, and the following predefined values: auto | More Information |
widows | Declares the minimum number of lines of a paragraph that must be left at the top of a page. | Integers | @page { widows:2; } |
Table Properties
Property | Description | Possible Values | Examples |
---|---|---|---|
border-collapse | Declares the way borders are displayed. | collapse separate | table { border-collapse:collapse; } table { border-collapse:separate; } |
border-spacing | Declares the distance separating borders (if border-collapse isseparate). | Lengths for the horizontal and vertical spacing, separated by a space. If one length is value is declared, that length is used for both the horizontal and vertical spacing. If two lengths are declared, the first one is used for horizontal spacing and the second one is used for vertical spacing. | table { border-spacing:5px; } table { border-spacing:5px 10px; } |
caption-side | Declares where the table caption is displayed in relation to the table. | top bottom left right | caption { caption-side:top; } caption { caption-side:right; } |
empty-cells | Declares the way empty cells are displayed (if border-collapse isseparate). | show hide | table { empty-cells:show; } table { empty-cells:hide; } |
table-layout | Declares the type of table layout. | auto fixed | table { table-layout:auto; } table { table-layout:fixed; } |