I am getting an error from the CSS validator that I don't understand. Here
is the relevant fragment of my CSS:
BODY {
size: 8.5in 11in;
color : #000000;
background-color : #ffffff;
background-repeat : repeat;
text-align : center;
font-family : "Frutiger Linotype", Trebuchet, Verdana, Arial, Helvetica,
sans-serif;
font-size : 90%;
margin : 2%;
}
And here is the error:
Line: 12 Context : BODY
Invalid number: size Property doesn't exist: 8.5in 11in
My use of the 'size' property exactly matches the example shown in the
Blooberry reference at
http://www.blooberry.com/indexdot/cs...print/size.htm so I don't
see why this won't work in my CSS.
Can anyone enlighten me on why my CSS doesn't satisfy the validator and what
I need to do to make the validator happy, short of removing the size
parameter altogether?
--
Rhino