> #blob { > border-radius : 5px; > -webkit-border-radius : 5px;/* safari, chrome, arora etc */ > -moz-border-radius : 5px;/* firefox and pals*/ > -khtml-border-radius : 5px;/* konquerer */ > }
I believe it would make more sense to reverse that order and have "border-radius" come *last* in the declaration block -- Regards, Thierry | www.tjkdesign.com From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of James Ellis Sent: Wednesday, February 03, 2010 6:10 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] CSS Validation Error Hi You can safely ignore any -prefix validation errors (-moz, -webkit, -opera) - they are never going to validate on the W3C validator. The point of the vendor specific rules is to do stuff the W3C haven't standardised yet. The validator should probably ignore them as well. If you really must have a valid stylesheet then you can stick vendor specific stuff in a vendor.css and not validate it (because it won't). #blob { border-radius : 5px; -webkit-border-radius : 5px;/* safari, chrome, arora etc */ -moz-border-radius : 5px;/* firefox and pals*/ -khtml-border-radius : 5px;/* konquerer */ } Noting that webkit and moz have different names for the rules, watch out for that. Theoretically, when a browser supports border-radius, it should switch from its vendor specific rule to the standard rule. Cheers James On Thu, Feb 4, 2010 at 10:23 AM, Thierry Koblentz <thierry.koble...@gmail.com> wrote: -moz is a vendor prefix (not CSS3) -- Regards, Thierry | www.tjkdesign.com From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Daniel Anderson Sent: Wednesday, February 03, 2010 3:12 PM To: wsg Subject: [WSG] CSS Validation Error When I am validating a site that I am working on using the W3C Validator I get errors with -moz-border-radius-bottomleft. Is this because it is CSS3? Error Reads: Property -moz-border-radius-bottomleft doesn't exist : 5px 5px Cheers Daniel ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *******************************************************************