I have seen in some CSS codes made to work in the beautiful browser Internet Explorer the following attribute:
img {
behavior: url(ie_png.htc);
}
What is the purpose of this behavior
?
Does it only work for Internet Explorer?
I have seen in some CSS codes made to work in the beautiful browser Internet Explorer the following attribute:
img {
behavior: url(ie_png.htc);
}
What is the purpose of this behavior
?
Does it only work for Internet Explorer?
Yes, it only works for Internet Explorer.
It's a Microsoft extension for CSS.
What does it do?
Arrow or search the location of the behavior script for an element Dynamic HTML (DHTML) .
These are usually .htc files, made up of HTML, scripts, and HTC-specific elements.
behavior: url(sLocation) | url(#objID) | url(#default#behaviorName)
url(sLocation)
url(#objID)
url(#default#behaviorName)
An example of its use is a component that implements the alpha transparency of PNG images for IE 5.5 and IE 6. TwinHelix Designs .
Sources: