Validation of this theme in page http://d-theme.com/sports produced some CSS 3 errors including parse errors.

URI : http://d-theme.com/sites/all/themes/sports/style.css?I
16 blockquote:before, blockquote:after, q:before, q:after Value Error : content none is not a content value : none
41 h1 Property -moz-border-radius doesn't exist : 1em
42 h1 Property -webkit-border-radius doesn't exist : 1em
46 h1 Property -moz-box-shadow doesn't exist : 2px 2px 5px #000000
47 h1 Property -webkit-box-shadow doesn't exist : 2px 2px 5px #999999
91 sub Value Error : vertical-align Too many values or values are not recognized : sub font-size
91 sub Parse Error : 0.9em;
92 sub Parse Error }
140 #logo img:hover Parse Error = 70)
141 #logo img:hover Property zoom doesn't exist : 1
224 .block-title Property -moz-border-radius doesn't exist : 0 10px 0 0
225 .block-title Property -webkit-border-top-right-radius doesn't exist : 10px
296 #mission Property -moz-border-radius doesn't exist : 0 20px 0 15px
297 #mission Property -webkit-border-top-left-radius doesn't exist : 0
298 #mission Property -webkit-border-top-right-radius doesn't exist : 20px
299 #mission Property -webkit-border-bottom-left-radius doesn't exist : 15px
300 #mission Property -webkit-border-bottom-right-radius doesn't exist : 0
1122 #footer-text Property -moz-border-radius doesn't exist : 0 20px 0 20px
1123 #footer-text Property -webkit-border-top-left-radius doesn't exist : 0
1124 #footer-text Property -webkit-border-top-right-radius doesn't exist : 20px
1125 #footer-text Property -webkit-border-bottom-left-radius doesn't exist : 20px
1126 #footer-text Property -webkit-border-bottom-right-radius doesn't exist : 0
1159 #designer Parse Error = 90)

This one is weird. The 'content-type' HTTP header specifies a character set of UTF-8, which is different to the value given in the meta tags. There are two meta tags.

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

There is also an image with an empty alt attribute.
<img src="/sites/all/themes/sports/images/column-one.jpg" width="214" height="300" alt="" class="background-image"/>

Comments

AndyW’s picture

Hi peterx,

Thanks for letting me know about these issues

I've removed the unnecessary meta tag

I wouldn't worry about the validation issues. Once you start adding CSS3 and browser specific rules to the style sheet it freaks the W3C validator out and starts doing odd things. There's currently an ongoing discussion about whether this should be addressed by the W3C

I'll leave the alt tag blank for the image. The last time I checked the WCAG guidelines recommended leaving this empty if the image was for background purposes.

apaderno’s picture

Status: Active » Closed (outdated)

I am closing this issue, as Drupal 6 is now not supported.