Copy code The code is as follows:<!--[if IE]><script type="text/javascript" src="resources/scripts/jquery.bgiframe.js"></script><![endif]--> With the above code, jquery.bgiframe.js is loaded only when using IE. This is very important because if you load everything you will waste bandwidth and the page will open slowly! If it is specifically for IE6, change it to if IE6. Copy code The code is as follows:<!--[if IE 6]> <script type="text/javascript" src="resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> Or solve the layout problem of different versions of IE. The following only loads ie.css in IE7 Copy code The code is as follows:<!--[if lte IE 7]> <link rel="stylesheet" href="resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> |
<<: 100-1% of the content on the website is navigation
>>: Details of using vue activated in child components
One line command docker run -d \ -v /share:/home/...
Table of contents Preface Promise chaining MDN Er...
Table of contents el-scrollbar scroll bar el-uplo...
Table of contents Preface Vue update view patch s...
Table of contents Preface 1. bat executes js 2. T...
<br />Recently, UCDChina wrote a series of a...
Table of contents Introduction Introduction Aggre...
Table of contents 1. Introduction 2. Detailed exp...
Table of contents 1. Hash table principle 2. The ...
Using the CSS float property correctly can become...
Why do we need virtual dom? Virtual DOM is design...
As shown below: nsenter -t 1 -m -u -n -i sh -c &q...
When we want to use a new CSS feature, we always ...
Recently, when I installed MySQL in Docker, I fou...
CSS media query has a very convenient aspect rati...