The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS Validator

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #46252

    **Property progid doesn’t exist : DXImageTransform**

    **Parse Error DXImageTransform.Microsoft.gradient(startColorstr=’#494949′, endColorstr=’#878787′,GradientType=0);**

    **attempt to find a semi-colon before the property name. add it**

    How to fix those errors?

    ul#menubar li a:hover {
    color: #fff;
    background: #494949;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#494949′, endColorstr=’#878787′,GradientType=0);


    You can’t. The validator won’t accept Microsoft’s filters. You’ll just have to live with there being an error.


    Looking at the code you posted, it seems you are adding an IE9 and under gradient, but a solid background color for all other browser. Is that intentional? If not, you could just delete the filter line, have the solid background and move on, if you wanted the gradient, you need to add in the new linear gradient syntax as well. This is a great tool for css support with fallbacks:
    [CSS3 Gradient Generator]( “CSS3 Gradient Generator”)

    But, as @TheDoc pointed out, if you keep the gradient, and want IE 9 and under support, gonna have to live with the errors.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.