O'Reilly logo

CSS Pocket Reference, 3rd Edition by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Paged Media

marks
Values:

[ crop || cross ] | none | inherit

Initial value:

none

Applies to:

Page context.

Inherited:

N/A.

Description:

This property defines whether “cross marks” (otherwise known as register marks or registration marks) should be placed outside the content area but within the printable area of the canvas. The exact placement and rendering of the marks is not defined. Note that this property does not appear in CSS2.1.

page
Values:

<identifier> | inherit

Initial value:

auto

Applies to:

Block-level elements.

Inherited:

Yes.

Description:

This property, in conjunction with size, specifies a particular page type to be used in the printing of an element. Note that this property does not appear in CSS2.1.

size
Values:

<length>{1,2} | auto | portrait | landscape | inherit

Initial value:

auto

Applies to:

The page area.

Inherited:

No.

Description:

With this property, authors can declare the size and orientation of the page box used in the printing of an element. It can be used in conjunction with page, although that is not always necessary. Note that this property does not appear in CSS2.1.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required