Re: @page { size: A4 }

> 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 UTC