W3C home > Mailing lists > Public > www-style@w3.org > April 2003

Re: @page { size: A4 }

From: Michael Day <mikeday@yeslogic.com>
Date: Fri, 11 Apr 2003 13:25:21 +1000 (EST)
To: Daniel Glazman <glazman@netscape.com>
Cc: www-style@w3.org, "REFSTRUPJACOB (HP-Vancouverex1)" <jacob_refstrup@hp.com>
Message-ID: <Pine.LNX.4.44.0304111314060.15194-100000@lorien.yeslogic.com>


> This implies a light change of the grammar of the 'size' property but,
> again, it makes perfect sense to me. What about:
> 
>       <length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]
> 
> where <page-size> is one of a0, a1, a2, a3, a3, a4, a5, b0, b1, b2, b3,
> b4, b5, us-letter, us-legal, us-executive, us-ledger ? What about JIS
> sizes for Japan ?

We have also supported the cN envelope sizes for printing envelopes and
the id-N sizes for identity cards.

We haven't supported the JIS sizes, based on the comment that "they should
be avoided" and because we don't yet support Japanese characters, so
someone else will have to comment on their desirability.

> Excellent :-) Can you give us the precise definition (in css length
> units) for all these keywords please ?

Certainly; again these are just taken from Markus Kuhn's comprehensive
page on the subject.

a0 = 841mm 1189mm
a1 = 594mm 841mm
a2 = 420mm 594mm
a3 = 297mm 420mm
a4 = 210mm 297mm
a5 = 148mm 210mm

b0 = 1000mm 1414mm
b1 = 707mm 1000mm
b2 = 500mm 707mm
b3 = 353mm 500mm
b4 = 250mm 353mm
b5 = 176mm 250mm

c0 = 917mm 1297mm
c1 = 648mm 917mm
c2 = 458mm 648mm
c3 = 324mm 458mm
c4 = 229mm 324mm
c5 = 162mm 229mm

id-1 = 85.60mm 53.98mm
id-2 = 105.0mm 74.0mm
id-3 = 125.0mm 88.0mm

us-letter = 216mm 279mm
us-legal = 216mm 356mm
us-executive = 190mm 254mm
us-ledger = 279mm 432mm
us-tabloid = 279mm 432mm

Cheers,

Michael Day

YesLogic Pty. Ltd.
Received on Thursday, 10 April 2003 22:10:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:20 GMT