Re: W3C CSS Validator

Robert,

I am not the expert on CSS, but anyway...

Do you have a background color specified for the body? If so then it should
be inherited, which means the problem is not major, merely one of absolute
completeness. I will ask the experts tomorrow.

Regards

Charles McCN

On Mon, 24 May 1999, Robert Neff wrote:

  Has anyone worked with the W3C CSS Validator much?  I ran our code through and came up with so many "You have no background-color with your color".  I thought this did not need to be specified?  Pls remember, I am new to this validator, CSS and still learning it.
  
  Here is the results of the first pass.
  
  Line : 18 Level : 1 You have no background-color with your color : A:link 
  Line : 20 Level : 1 You have no background-color with your color : A:visited 
  Line : 22 Level : 1 You have no background-color with your color : A:active 
  Line : 44 Level : 1 You have no background-color with your color : H1 
  Line : 53 Level : 1 You have no background-color with your color : H2 
  Line : 65 Level : 1 You have no background-color with your color : H3 
  Line : 74 Level : 1 You have no background-color with your color : H4 
  Line : 87 Level : 1 You have no background-color with your color : .title 
  Line : 96 Level : 1 You have no background-color with your color : .title2 
  Line : 103 Level : 1 You have no background-color with your color : .policyfooter 
  Line : 112 Level : 1 You have no background-color with your color : .smallblue 
  Line : 119 Level : 1 You have no background-color with your color : .mysmall 
  Line : 145 Level : 1 You have no background-color with your color : .subtitle3 
  Line : 145 Level : 1 Same colors for color and background-color in two contexts .tabletitle and .subtitle3 
  Line : 154 Level : 1 You have no background-color with your color : .subtitle4 
  Line : 164 Level : 1 You have no background-color with your color : .subtitle1 
  Line : 164 Level : 1 Same colors for color and background-color in two contexts .tabletitle and .subtitle1 
  Line : 172 Level : 1 You have no background-color with your color : .subtitle2 
  Line : 188 Level : 1 You have no background-color with your color : HR 
  Line : 202 Level : 1 You have no background-color with your color : .ss 
  Line : 202 Level : 2 You are encouraged to offer a generic family as a last alternative : .ss 
  Line : 204 Level : 2 You are encouraged to offer a generic family as a last alternative : .xxx 
  Line : 205 Level : 1 You have no background-color with your color : .xxx 
  
  

--Charles McCathieNevile            mailto:charles@w3.org
phone: +1 617 258 0992   http://www.w3.org/People/Charles
W3C Web Accessibility Initiative    http://www.w3.org/WAI
MIT/LCS  -  545 Technology sq., Cambridge MA, 02139,  USA

Received on Monday, 24 May 1999 20:17:11 UTC