W3C CSS Validator error

3 replies
  • WEB DESIGN
  • |
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.
#css #error #validator #w3c
  • Profile picture of the author Jonas B
    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:

    * {
    background-color: #FF0000;
    }
    all elements with have bg color of red. (unless you override it)
    Signature
    Proud owner of the most flexible mobile app builder. Check it out at http://bit.ly/hybrica!
    Mobile Web Expert & Android Developer
    {{ DiscussionBoard.errors[5018531].message }}
  • Profile picture of the author falconlink
    I do not understand why the programmer using .pointer? what the pointer means ? is that means for cursor or something like that?
    {{ DiscussionBoard.errors[5020727].message }}
  • Profile picture of the author Michael71
    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.
    Signature

    HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
    ---
    Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu

    {{ DiscussionBoard.errors[5020816].message }}

Trending Topics