22.12.2013 Views

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

13.2.3 Crop marks: the ’marks’ property<br />

’marks’<br />

Value: [ crop || cross ] | none | inherit<br />

Initial: none<br />

Applies to: page context<br />

Inherited: N/A<br />

Percentages: N/A<br />

Media: visual, paged<br />

In high-quality printing, marks are often added outside the page box. This property<br />

specifies whether cross marks or crop marks or both should be rendered just<br />

outside the page box [p. 176] edge.<br />

Crop marks indicate where the page should be cut. Cross marks (also known<br />

as register marks or registration marks) are used to align sheets.<br />

Marks are visible only on absolute page boxes (see the ’size’ property). In relative<br />

page boxes, the page box will be aligned with the target and the marks will<br />

be outside the printable area.<br />

The size, style, and position of cross marks depend on the user agent.<br />

13.2.4 Left, right, and first pages<br />

When printing double-sided documents, the page boxes [p. 176] on left and right<br />

pages should be different. This can be expressed through two CSS<br />

pseudo-classes that may be defined in the page context [p. 176] .<br />

All pages are automatically classified by user agents into either the :left or<br />

:right pseudo-class.<br />

Example(s):<br />

@page :left {<br />

margin-left: 4cm;<br />

margin-right: 3cm;<br />

}<br />

@page :right {<br />

margin-left: 3cm;<br />

margin-right: 4cm;<br />

}<br />

If different declarations have been given for left and right pages, the user agent<br />

must honor these declarations even if the user agent does not transfer the page<br />

boxes to left and right sheets (e.g., a printer that only prints single-sided).<br />

Authors may also specify style for the first page of a document with the :first<br />

pseudo-class:<br />

Example(s):<br />

@page { margin: 2cm } /* All margins set to 2cm */<br />

@page :first {<br />

margin-top: 10cm /* Top margin on first page 10cm */<br />

}<br />

179

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!