leo 2008-5-7 16:02
让网站适应不同浏览器
[code]<!--[if lte IE 6]>
<link href="ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 7]>
<link href="ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->[/code]
根据不同的浏览器编写不同的css样式
如果是IE6或者更低版本 则调用第一个css是IE7就用IE7的样式。。。。可以解决那种在ie6里面和ie7不能互相兼容的问题。。
仅供参考
大斌 2008-5-7 16:04
不懂,顶一下吧
不懂,顶一下吧
[attach]784[/attach]
lipeng8821 2008-5-8 08:05
哦。。写两个CSS 然后根据不同的IE 来调用?
andol 2008-6-5 16:14
<!-- if not IE-->
<link href="firefox.css" rel="stylesheet" type="text/css" />
<![endif]-->
firefox 下可以这么调用么?
lxylxy8866 2008-6-15 12:56
顶顶