W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2007

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

From: David Dorward <david@dorward.me.uk>
Date: Sun, 25 Feb 2007 18:32:53 +0000
Message-ID: <45E1D655.6060905@dorward.me.uk>
To: Otto Wyss <otto.wyss@orpatec.ch>
CC: www-validator-css@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:18 GMT