Home>Article>Web Front-end> What should I do if ie css3.htc does not work?

What should I do if ie css3.htc does not work?

藏色散人
藏色散人 Original
2021-01-04 10:05:33 2288browse

ie css3.htc does not work because it does not support cross-domain. The solution: first place ie-css3.htc in the root directory of the website; then modify the statement to "behavior: url(http:/ /127.0.0.1/ie-css3.htc);”.

What should I do if ie css3.htc does not work?

Test environment: windows7 IE8 Dell G3

Recommended: "css video tutorial"

ie What should I do if css3.htc doesn’t work?

ie css3.htc does not work because it does not support cross-domain.

Question:

ie-css3.htc is placed on the server and can be accessed normally. Why can't the effect be seen in IE8? I am puzzled.

    Document  

Solution:

If placed in the root directory of the website and accessed as http://127.0.0.1/index.html, behavior: url( cannot be written in the CSS file http://localhost/ie-css3.htc); Instead write behavior: url(http://127.0.0.1/ie-css3.htc); But it is better to use relative paths if the css file is different from ie-css3.htc In the same folder, write behavior: url(ie-css3.htc);

The above is the detailed content of What should I do if ie css3.htc does not work?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn