注册 登录
编程论坛 WEB前端(UI)

样式表调用方法这样写对么?

dhdhzzw 发布于 2008-07-18 11:27, 1336 次点击
<!--[if ie 6]>//IE6中按此样式
<style>
#A { padding-top:30px; background:#999999;}
</style>
<![endif]-->
<!--[if ie 7]>//IE7中按此样式
<style>
#A { padding-top:30px; background:#ff0000;}

</style>
<![endif]-->

如果在html语言中   <!-->这种符号不是被当作注释的么?〉怎么会识别呢?
0 回复
1