Paul Jr
02-17-2004, 11:27 PM
The W3C CSS validator is telling me -moz-border-radius isn't valid. :confused:
What's up with this?!
What's up with this?!
|
Click to See Complete Forum and Search --> : -moz-border-radius not valid? Paul Jr 02-17-2004, 11:27 PM The W3C CSS validator is telling me -moz-border-radius isn't valid. :confused: What's up with this?! fredmv 02-18-2004, 12:23 AM It's because the property is actually defined in CSS3 as border-radius and it not yet widely supported. The reason the for the vendor-specific prefix (i.e., -moz-) is because it is so far only supported by Mozilla and thus the validator does not recognize the property therefore making it invalid as far as the validator is concerned. Note, however, it is not invalid because it is not proprietary or otherwise — it's a valid CSS3 property (http://www.w3.org/TR/2002/WD-css3-border-20021107/#the-border-radius) and once it is more widely supported, you can simply remove the vendor-specific prefix and it should vaidate with no problems whatsoever. I don't see any danger in using it though, since browsers other than Mozilla will simply not have rounded edges on the element. Paul Jr 02-18-2004, 12:30 AM Alrighty then! Thanks a lot for the info. ;) webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |