Re: How to fix CSS warning.

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 UTC