开发者

pros and cons of .htc file

What are pros and con开发者_运维知识库s of using a .htc file in CSS?


I don't know the Pros (there might be, I just don't know them). One of the Cons is that it can only be used in IE and is completely non-standard.


Another con is that it looks like Internet Explorer 10 will remove them in standards and quirks mode. You can still use them in IE 10 if you change the document mode to be IE 9 or earlier.

Support for element behaviors has been removed in Windows Internet Explorer 10 Consumer Preview standards and quirks modes for improved interoperability and compliance with HTML5. This means elements previously bound to Element Behaviors will be treated as generic elements, just like in other browsers. This change can impact pages written exclusively for Windows Internet Explorer or pages that use browser sniffing to alter their behavior in Internet Explorer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜