W3C CSS Validator error

by 3 replies
4
Hi

I'm facing an error with me css page while w3c validation.

The code is:
*html .pointer {
filter: chroma(color=pink);
}

The error is:
Parse Error *html .pointer{filter:chroma(color=pink)}

Can anybody help me to solve the problem?

Thanks to you all.
#website design #css #error #validator #w3c
  • You can delete te asterisk as its an ie hack.. thats probally why it gives validation errors..

    the asterik should be used only for doing something global:

    all elements with have bg color of red. (unless you override it)
  • I do not understand why the programmer using .pointer? what the pointer means ? is that means for cursor or something like that?
  • Code:
    filter: chroma(color=pink);
    is the error.

    The *html is not * { ... totally different (IE related).

    filter: ... is only "working" in IE ... better to use conditional comments for "IE CSS".

    Check in browsershots.org (if your site is online) if it looks good in all browsers.

    Today CSS errors are "normal" because of all those vendor specific CSS tags.

Next Topics on Trending Feed