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; Link to comment https://forums.phpfreaks.com/topic/246505-validator/ 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. Link to comment https://forums.phpfreaks.com/topic/246505-validator/#findComment-1265796 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. Link to comment https://forums.phpfreaks.com/topic/246505-validator/#findComment-1265797 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 . Link to comment https://forums.phpfreaks.com/topic/246505-validator/#findComment-1265881 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.