- From: Kravvitz <Kravvitz.css-validator@dynamicsitesolutions.com>
- Date: Sat, 3 Nov 2007 21:13:51 -0400
- To: "Kathleen Cavanagh" <Kathleen.Cavanagh@copart.com>
- Cc: www-validator-css@w3.org
The CSS Validator defaults to using the CSS 2.1 profile now. The size property was removed from CSS2.1, but exists in CSS2. You can still select the CSS 2 profile now by clicking on "More Options". I agree that it is confusing because it links to the CSS 2 specs that show it exists. -- Kravvitz On 11/2/07, Kathleen Cavanagh <Kathleen.Cavanagh@copart.com> wrote: > > > > > I believe I have found a bug in the CSS Validator. I keep getting an error when I submit the following code: > > > > /* Last modified KEC 2:51 PM 11/02/2007 */ > > /* adding print, handheld media information - Print requested to be portrait, grayscale, remove close line, etc. */ > > > > /* Payment-Print CSS Document */ > > > > p {margin:0; padding:0} > > .w50 {width:250px} > > .w330 {width:330px} > > .money {width:75px} > > .submit_payment {width:500px;text-align:center} > > .footer_left, .footer_right {width:200px} > > .footer_center {width:550px} > > > > /* @media print, haldheld */ > > @page {size: portrait; margin: 4%} > > div.body, .center, #menuset {width:100%} > > #first-tier, #second-tier, .buyer_info_header {visibility: hidden} > > .w50 {width: 50%} > > .header_bottom_left,.header_bottom_center,.header_bottom_right{width:33%} > > th, .subheader2 {background-color: #000; color: #fff; font-weight: bold} > > .page_header_line {width: 100%; border-top-color:#000} > > .bottom_nav {visibility: hidden} > > > > The error I get is "Value Error: size Property size doesn't exist: portrait" And the funny thing is that it links back to your paged media section showing that portrait is a valid property of size. This is either a bug with the CSS Validator or I am confused/misunderstanding the rules. > > > > BTW, I always use your site / references and thank you very much for providing these resources and tools! > > > > > > > >
Received on Sunday, 4 November 2007 01:14:24 UTC