W3C home > Mailing lists > Public > www-validator@w3.org > December 2008

Re: How to fix CSS warning.

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Mon, 01 Dec 2008 07:37:09 +0000
Message-ID: <49339425.4030807@googlemail.com>
To: Dipak Kumar Singh - INT <dipak.singh@indusnet.co.in>
CC: Jens Meiert <jens@meiert.com>, www-validator@w3.org, www-validator-css@w3.org

Dipak Kumar Singh - INT wrote:
> Yes my confusion is occurring in CSS validator 
> (http://jigsaw.w3.org/css-validator/), I want to validate my CSS file 
> without having any WARNINGS. While I am validating CSS file I have 
> chosen option available in 'More Options' tab and those are mentioned 
> below.
> 
>            Profile : CSS level 2.1                Medium: All
>            Warnings: All

If you want to turn off the validator's warnings, select "No Warnings" 
instead of "All" warnings.

> My CSS file showing so many warnings which is only due to "Same colors 
> for color and background-color in two contexts". Please help/suggest me 
> that how to have a 'Warnings' less CSS file.

Alternatively, fix the problems with your CSS by specifying contrasting 
foreground/background colors. ;)

--
Benjamin Hawkes-Lewis
Received on Monday, 1 December 2008 07:37:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:33 GMT