This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

W3C CSS 2.1 fails , don't understand why


  1. redrock
    Member

    The following page

    http://www.redrockdental.org/appointment-request.php

    fails to CSS 2.1-validate, and the reason given is:

    #main_body img
    Property behavior doesn't exist : url(css/iepngfix.htc) url(css/iepngfix.htc)

    Now, I understand that "#main_body" is part of MachForm's CSS, but what does "Property behavior doesn't exist" mean? And what are "iepngfix.htc" & iepngfix.htc referring to?

    Thanks!

    Posted 13 years ago #
  2. yuniar

    Those are workaround to enable transparent image support for IE6. I suppose you can simply remove those lines, since most people won't be using IE6 anymore.


    MachForm Founder

    Posted 13 years ago #
  3. redrock
    Member

    Thank you, Yuniar - by removing from css the snippet

    #main_body img{behavior:url(css/iepngfix.htc);border:none}

    it now does validate as 2.1 in w3c. Thank you!

    Posted 13 years ago #

RSS feed for this topic

Reply