6
I’ve seen in some CSS codes made to work on most esteemed navigator Internet Explorer the following attribute:
img {
behavior: url(ie_png.htc);
}
What is the purpose of this behavior
?
Only works for Internet Explorer?
6
I’ve seen in some CSS codes made to work on most esteemed navigator Internet Explorer the following attribute:
img {
behavior: url(ie_png.htc);
}
What is the purpose of this behavior
?
Only works for Internet Explorer?
3
Yes, it only works for Internet Explorer.
It’s a Microsoft extension for CSS.
What does he do?
Arrow or search the location of an element’s behavior script Dynamic HTML (DHTML).
Usually . Htc files, composed 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 alpha transparency of PNG images for IE 5.5 and IE 6. Twinhelix Designs.
Sources:
Very large workaround in Internet explorer
Congratulations. Thank you for the reply ;)
Browser other questions tagged css internet-explorer
You are not signed in. Login or sign up in order to post.
Wow, you took that out of the bottom of the trunk.
– bfavaretto
Seriously @bfavaretto? I had already seen in a code and wanted to know what it was for. One day I used to make a border-Radius work in internet explorer, but never knew what is this HTC not even behavior
– Wallace Maxters
I will search to refresh the memory and be able to post a complete answer. But I already say: in the case of your example, the behavior served to make old Ies respect transparency (alpha channel) in PNG files.
– bfavaretto
I gave up answering, Earendul doesn’t say everything but says enough.
– bfavaretto