Jump to content


Photo

Errors When Validating CSS for XHTML 1.0 Strict


  • Please log in to reply
5 replies to this topic

#1 straightryder

straightryder

    Member

  • Member
  • PipPipPip
  • 72 posts
  • LocationVancouver BC

Posted 11 August 2010 - 07:50 PM

These are the errors listed below:

97 rss-menu Property -moz-border-radius doesn't exist : 20px 20px
98 .rss-menu Property border-radius doesn't exist in CSS level 2.1 but exists in : 20px 20px
112 #twitter Property -webkit-border-radius doesn't exist : 20px 20px
113 #twitter Property -moz-border-radius doesn't exist : 20px 20px
114 #twitter Property border-radius doesn't exist in CSS level 2.1 but exists in : 20px 20px
197 ul.social-media-cons Property -webkit-border-radius doesn't exist : 20px 20px
198 ul.social-media-cons Property -moz-border-radius doesn't exist : 20px 20px
199 ul.social-media-cons Property border-radius doesn't exist in CSS level 2.1 but exists in : 20px 20px
464 .searchform Property -moz-border-radius doesn't exist : 10px 10px
465 .searchform Property -webkit-border-radius doesn't exist : 10px 10px
480 .sb Property -moz-border-radius doesn't exist : 8px 8px
481 .sb Property -webkit-border-radius doesn't exist : 8px 8px

Does this mean I can't use border-radius at all... *as in won't work in any browser since i used XHTML 1.0 Strict*?
  • 0

#2 Ben

Ben

    Administrator

  • Administrators
  • 5,656 posts
  • LocationChico, CA

Posted 11 August 2010 - 07:56 PM

I believe that's a CSS3 property that the validator has issues with -- it doesn't understand a lot of the CSS3 properties and will show you errors even though there is technically nothing wrong. You can safely ignore that error.

Do keep in mind that some CSS3 properties (like border-radius) does not work in IE. http://www.css3.info...rounded-border/ I believe that IE9 will be the first IE browser to support them.
  • 0
Benjamin Falk
Falken Creative : Twitter

#3 straightryder

straightryder

    Member

  • Member
  • PipPipPip
  • 72 posts
  • LocationVancouver BC

Posted 11 August 2010 - 08:56 PM

People still use IE... ;)
  • 0

#4 Ben

Ben

    Administrator

  • Administrators
  • 5,656 posts
  • LocationChico, CA

Posted 11 August 2010 - 09:35 PM

People still use IE... ;)

Unfortunately yes. :P But if it's a minor stylistic element, and doesn't actually affect the functionality of the site, then I'd say it's ok to keep that in. Some users will get the optimal experience, and some will get a slightly different looking version. Of course, if it is important that the site looks the same in all browsers, you'll have to figure out another way to do rounded corners.
  • 0
Benjamin Falk
Falken Creative : Twitter

#5 Eddie

Eddie

    Advanced Member

  • Advanced Member
  • PipPipPipPip
  • 3,632 posts
  • LocationTexas

Posted 12 August 2010 - 08:20 AM

People still use IE... ;)

Yep! Still around 55%. Sadly IE6 has about 5% of that market share. I specifically tell all my new clients that coding for IE6 will no longer be the standard in building their websites. Additional cost applies if they desire to have it work for IE6.

My point: We all know that IE6 is a terrible browser but as long as we keep making sites that works for IE6 then the longer IE6 will hang around. It's time to cut off the head of this beast because it's been around way too long (9 years).

Edited by newseed, 12 August 2010 - 08:23 AM.

  • 0

#6 LSW

LSW

    Knight of the Square Cubicle

  • Moderators
  • 8,046 posts
  • LocationJuneau AK

Posted 12 August 2010 - 09:32 AM

Those pesky zombies just don't know when to die! Posted Image

The wife and I gave up on Firefox and generally use Google Chrome (sometimes Comodo Dragon which is based on Chrome)
  • 0

Thank You, Migwetth, Gunalche’esh, Ha’w'aa, Danke
 

"There are 3 types of people: Those who can count and those who cannot."

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users