W3C home > Mailing lists > Public > site-comments@w3.org > October 2004

Error found in CSS 2 documentation.

From: Diego Nunes <dnunes@gmail.com>
Date: Fri, 08 Oct 2004 17:31:59 +0000
Message-Id: <127CF2C2-2255-11D9-9711-000A95D04A34@gmail.com>
To: W3C - Site comments <site-comments@w3.org>



recommendations. Now I'm building a web application that needs to
print some data in a size stardard. When I was reading about the
"@page" rule, in the CSS 2 documentation -
<http://www.w3.org/tr/css/page.html> -, I found something that seems
to be an error.
   See. In the site:
"For example, the following @page rule sets the page box size to 8.5 x
11 inches and creates '2cm' margin on all sides between the page box
edge and the page area:
@page { size 8.5in 11in; margin: 2cm }" - quoted from
<http://www.w3.org/tr/css/page.html>

   I think the correct example must be..
"@page { size: 8.5in 11in; margin: 2cm }"

   Note the ":" after the "size" property, what is missing in the
example published on the page.

   Amplexos,
-- 
~~ ~
diego nunes
web engineer
~ ~~
Received on Wednesday, 20 October 2004 05:01:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:29 GMT