CSS2 - Print Properties


Advertisements


This is a complete reference guide for web developers where we have listed all the CSS properties related to print defined in the World Wide Web Consortium's Recommended Specification for Cascading Style Sheets, Level 2.

Click any property to see its description with examples −

Property Description

marks

The marks property is used to set crop marks and cross marks on paged media. This is used with the @page rule.

orphans

Sets the minimum number of lines allowed in an orphaned paragraph fragment.

page

Associates a named page layout with an element.

page-break-after

Forces or suppresses page breaks after an element.

page-break-before

Forces or suppresses page breaks before an element.

page-break-inside

Suppresses page breaks within an element.

size

The size property is used in paged media to specify the size of the page.

widows

Sets the minimum number of lines allowed in a widowed paragraph fragment.

width

Defines the width of an element.

css_references.htm

Advertisements