Home >Web Front-end >HTML Tutorial >html page!--[if IE]...![endif]--detailed introduction to use_HTML/Xhtml_web page production

html page!--[if IE]...![endif]--detailed introduction to use_HTML/Xhtml_web page production

WBOY
WBOYOriginal
2016-05-16 16:40:431457browse

Copy code
The code is as follows:



Use the above This code only loads jquery.bgiframe.js when using IE. This is important, because if you load everything, you will waste bandwidth and the page opening speed will be slower! If it is specifically for IE6, change it to if IE6.

Copy code
The code is as follows:



or To solve the layout problem of different versions of ie, just load ie.css in ie7

Copy the code
The code is as follows:


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