Re: @page: Invalid number : size Property size doesn't exist : portrait

Otto Wyss wrote:
> My print.css contains a @page statement 
> (http://www.orpatec.ch/turniere/5erfussball/print.css) which produces 
> the error "Invalid number : size Property size doesn't exist : portrait" 
> but when I go to the reference 
> (http://www.w3.org/TR/REC-CSS2/page.html#propdef-size) it seems to be 
> correct. Is my @page statement wrong or is the css validator wrong?

Neither. You're writing CSS 2, the validator uses CSS 2.1 by default. 
You can change the profile by selecting "More Options".

-- 
David Dorward                               <http://dorward.me.uk/>

Received on Sunday, 25 February 2007 18:33:09 UTC