Davie33 Posted September 5, 2011 Share Posted September 5, 2011 Hi can anyone tell me y this is not valid in css cos am confused to y it works in my css but when i go to http://jigsaw.w3.org/css-validator it says not valid. -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; Quote Link to comment Share on other sites More sharing options...
cssfreakie Posted September 6, 2011 Share Posted September 6, 2011 well, the -moz- and -webkit- are prefixes that target specific brands of browsers (there is even -o- for opera). And border-radius is a css3 property. No need to worry about that. The reason why you don't have to worry about it is because other browsers that don't support it will just ignore it. It will not cause any problems. Quote Link to comment Share on other sites More sharing options...
Frank P Posted September 6, 2011 Share Posted September 6, 2011 Properties with prefixes like -moz- and -webkit- are non-standard properties. Having said that, I don't care much about valid CSS. My websites always have valid HTML, but I only use the CSS validator if I have a problem and want to see if maybe I misplaced a character or something like that. Confining oneself to valid CSS takes away far too much creative and economical techniques. Quote Link to comment Share on other sites More sharing options...
Davie33 Posted September 6, 2011 Author Share Posted September 6, 2011 Thanks for the info all.I wasnt to sure about it thanks again . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.