W3C home > Mailing lists > Public > www-validator-css@w3.org > March 2001

CSS Validator HELL ;-(

From: Steve <smain@home.com>
Date: Sun, 18 Mar 2001 18:44:43 -0500
Message-ID: <002301c0b005$6db557e0$0201a8c0@PC1>
To: <www-validator-css@w3.org>
CSS Validator resultsHello,

Maybe you can help me... I'm pulling out what little is left of my hair... 
I just tried validating a style sheet (see results below), and I have
2 simple questions.....

1. What the hell does this error message mean?
You have no background-color with your color

2. How do I eliminate it?

This seems to be the only error I'm getting (over and over and over),
and I have tried EVERYTHING I could think of to eliminate it.

Sorry to bother you, but I could find no FAQ regarding error messages
for the validator on your site.

To my best knowledge this style sheet should pass with flying W3C colours!

Regards,

Steve



--------------------------------------------------------------------------------


  

W3C CSS Validator Results with object : file://localhost/C:\Program Files\Apache\htdocs\styles\dp11a.css
  a.. Go to Warnings 
  b.. Go to your validated Cascading Style Sheet 
  c.. Back to CSS Validator

--------------------------------------------------------------------------------

Warnings :
  a.. 
    URI : file://localhost/C:\Program Files\OpenSA\Apache\htdocs\styles\dp11a.css 
    Line : 16 Level : 1 You have no background-color with your color : A:link 
    Line : 22 Level : 1 You have no background-color with your color : A:visited 
    Line : 28 Level : 1 You have no background-color with your color : A:active 
    Line : 32 Level : 1 You have no background-color with your color : A:hover 
    Line : 37 Level : 1 You have no background-color with your color : .menulink 
    Line : 43 Level : 1 You have no background-color with your color : A.menulink:link 
    Line : 49 Level : 1 You have no background-color with your color : A.menulink:visited 
    Line : 54 Level : 1 You have no background-color with your color : A.menulink:hover 
    Line : 59 Level : 1 You have no background-color with your color : A.menulink:active 
    Line : 66 Level : 1 You have no background-color with your color : TD 
    Line : 107 Level : 1 You have no color with your background-color : .mentable 
    Line : 192 Level : 1 Same colors for color and background-color in two contexts .buttonlabel and H1 
    Line : 192 Level : 1 You have no background-color with your color : H1 
    Line : 199 Level : 1 Same colors for color and background-color in two contexts .buttonlabel and H2 
    Line : 199 Level : 1 You have no background-color with your color : H2 
    Line : 206 Level : 1 You have no background-color with your color : H3 
    Line : 206 Level : 1 Same colors for color and background-color in two contexts .buttonlabel and H3 
    Line : 213 Level : 1 You have no background-color with your color : .mediumheading 
    Line : 221 Level : 1 You have no background-color with your color : .mediumheading2 
    Line : 221 Level : 1 Same colors for color and background-color in two contexts .smalltext and .mediumheading2 
    Line : 221 Level : 1 Same colors for color and background-color in two contexts .sidebarwhite and .mediumheading2 
    Line : 221 Level : 1 Same colors for color and background-color in two contexts .maincontent and .mediumheading2 
    Line : 221 Level : 1 Same colors for color and background-color in two contexts .popcontent and .mediumheading2 
    Line : 265 Level : 1 You have no color with your background-color : .buttonstyle 
    Line : 280 Level : 1 You have no color with your background-color : textarea 
    Line : 286 Level : 1 You have no color with your background-color : input.button 

--------------------------------------------------------------------------------


To work as intended, your CSS style sheet needs a correct document parse tree. This means you should use valid HTML.


--------------------------------------------------------------------------------

Your validated Cascading Style Sheet :
  IFRAME {
    border-left : 1px solid #333333;
    border-right : 1px solid #333333;
    border-top : 1px solid #333333;
    border-bottom : 1px solid #333333;
  }


  BODY {
    background-image : url(http://localhost/images/backgrounds/dp11bg1.gif);
    background-color : #989490;
    color : #000000;
  }


  A:link {
    color : #0000ff;
    font-weight : bold;
    text-decoration : none;
  }


  A:visited {
    color : #0000ff;
    font-weight : bold;
    text-decoration : none;
  }


  A:active {
    color : #0000ff;
  }


  A:hover {
    color : #0000ff;
    text-decoration : underline;
  }


  .menulink {
    color : #dbd8d5;
    text-decoration : none;
  }


  A.menulink:link {
    font-weight : normal;
    color : #dbd8d5;
    text-decoration : none;
  }


  A.menulink:visited {
    font-weight : normal;
    color : #dbd8d5;
    text-decoration : none;
  }


  A.menulink:hover {
    color : #dbd8d5;
    text-decoration : none;
  }


  A.menulink:active {
    color : #dbd8d5;
    text-decoration : none;
  }


  TD {
    font-family : Arial, Helvetica, sans-serif;
    font-size : 12px;
    color : #333333;
  }


  .sidebarleft {
    border-left : 1px solid #333333;
    border-right : 0 solid #333333;
    border-top : 1px solid #333333;
    border-bottom : 1px solid #333333;
    font-size : 12px;
    color : #666666;
    font-family : Verdana, Arial, sans-serif;
    background-color : #797571;
  }


  .sidebar {
    border-left : 1px solid #333333;
    border-right : 1px solid #333333;
    border-top : 1px solid #333333;
    border-bottom : 1px solid #333333;
    font-size : 12px;
    color : #333333;
    font-family : Verdana, Arial, sans-serif;
    background-color : #aeacaa;
  }


  .sidebarwhite {
    border-left : 0 solid #333333;
    border-right : 1px solid #333333;
    border-top : 1px solid #333333;
    border-bottom : 1px solid #333333;
    font-size : 12px;
    color : #333333;
    font-family : Verdana, Arial, sans-serif;
    background-color : #ffffff;
  }


  .mentable {
    border-left : 1px solid #333333;
    border-right : 1px solid #333333;
    border-top : 1px solid #333333;
    border-bottom : 1px solid #333333;
    background-color : #666666;
  }


  .menmaincell {
    border-left : 1px solid #333333;
    border-right : 1px solid #333333;
    border-top : 1px solid #333333;
    border-bottom : 1px solid #333333;
    font-weight : normal;
    font-size : 12px;
    color : #d8d3cf;
    font-family : Verdana, Arial, Helvetica, sans-serif;
    height : 22px;
    background-color : #908880;
  }


  .menheadiii {
    border-left : 1px solid #333333;
    border-right : 1px solid #333333;
    border-top : 1px solid #333333;
    border-bottom : 1px solid #333333;
    font-weight : bold;
    font-size : 14px;
    color : #333333;
    font-family : Verdana, Arial, Helvetica, sans-serif;
    height : 22px;
    background-color : #a0c0a0;
  }


  .menheadii {
    border-left : 1px solid #333333;
    border-right : 1px solid #333333;
    border-top : 1px solid #333333;
    border-bottom : 1px solid #333333;
    font-weight : bold;
    font-size : 14px;
    color : #333333;
    font-family : Verdana, Arial, Helvetica, sans-serif;
    height : 22px;
    background-color : #9898ba;
  }


  .menheadi {
    border-left : 1px solid #333333;
    border-right : 1px solid #333333;
    border-top : 1px solid #333333;
    border-bottom : 1px solid #333333;
    font-weight : bold;
    font-size : 14px;
    color : #333333;
    font-family : Verdana, Arial, Helvetica, sans-serif;
    height : 22px;
    background-color : #996666;
  }


  .mencellover {
    border-left : 1px solid #333333;
    border-right : 1px solid #333333;
    border-top : 1px solid #333333;
    border-bottom : 1px solid #333333;
    font-weight : normal;
    font-size : 12px;
    color : #d8d3cf;
    font-family : Verdana, Arial, Helvetica, sans-serif;
    height : 22px;
    background-color : #707c88;
  }


  .mencell {
    border-left : 1px solid #333333;
    border-right : 1px solid #333333;
    border-top : 1px solid #333333;
    border-bottom : 1px solid #333333;
    font-weight : normal;
    font-size : 12px;
    color : #d8d3cf;
    font-family : Verdana, Arial, Helvetica, sans-serif;
    height : 22px;
    background-color : #908880;
  }


  H1 {
    font-family : Arial, Helvetica, sans-serif;
    font-weight : bold;
    font-size : 18px;
    color : #000000;
  }


  H2 {
    font-family : Arial, Helvetica, sans-serif;
    font-weight : bold;
    font-size : 16px;
    color : #000000;
  }


  H3 {
    font-family : Arial, Helvetica, sans-serif;
    font-weight : bold;
    font-size : 14px;
    color : #000000;
  }


  .mediumheading {
    font-family : Arial, Helvetica, sans-serif;
    font-weight : bold;
    font-size : 14px;
    color : #333333;
    letter-spacing : 2px;
  }


  .mediumheading2 {
    font-family : Arial, Helvetica, sans-serif;
    font-weight : bold;
    font-size : 14px;
    color : #ffffff;
    letter-spacing : 2px;
    padding : 6px;
  }


  .smalltext {
    font-family : Arial, Helvetica, sans-serif;
    font-size : 10px;
    color : #000000;
    background-color : #ffffff;
  }


  .maincontent {
    border-left : 1px solid #333333;
    border-right : 0 solid #333333;
    border-top : 1px solid #333333;
    border-bottom : 1px solid #333333;
    font-size : 13px;
    color : #000000;
    line-height : normal;
    font-family : Arial, Helvetica, sans-serif;
    background-color : #ffffff;
  }


  .popcontent {
    border-left : 1px solid #333333;
    border-right : 0 solid #333333;
    border-top : 1px solid #333333;
    border-bottom : 1px solid #333333;
    font-size : 13px;
    color : #000000;
    line-height : normal;
    font-family : Arial, Helvetica, sans-serif;
    background-color : #ffffff;
    padding : 6px;
  }


  .buttonstyle {
    border-left : 1px outset #666666;
    border-right : 1px outset #666666;
    border-top : 1px outset #666666;
    border-bottom : 1px outset #666666;
    width : 16px;
    height : 26px;
    background-color : #989088;
  }


  .buttonlabel {
    border-left : 1px outset #666666;
    border-right : 1px outset #666666;
    border-top : 1px outset #666666;
    border-bottom : 1px outset #666666;
    width : 54px;
    color : #989088;
    height : 26px;
    background-color : #000000;
  }


  input , textarea {
    background-color : #cccccc;
    border-color : #cac8c6;
    padding : 2px;
  }


  input.button {
    background-color : #989088;
    border-style : solid;
    border-color : #999999 #666666 #666666 #999999;
    font-family : Arial, Helvetica, sans-serif;
    font-size : 10pt;
    font-weight : bold;
    padding : 0;
  }



--------------------------------------------------------------------------------
 
Philippe Le Hégaret & Sijtsche de Jong
Last Updated : Monday, March 19, 2001 12:14:23 AM CET 



jigpower.gif
(image/gif attachment: jigpower.gif)

vcss.gif
(image/gif attachment: vcss.gif)

Received on Sunday, 18 March 2001 18:42:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:13:57 GMT