ITeye博客

针对不同版本的IE调用不同CSS样式

roiz · 2011-11-07 19:41 · Web · Web前端 · Markdown


<!– 默认先调用css.css样式表 –>

<link rel=”stylesheet” type=”text/css” href=”css.css” />


<!–[if ie 7]>

<!– 如果IE浏览器版是7,调用ie7.css样式表 –>

<link rel=”stylesheet” type=”text/css” href=”ie7.css” />

<![endif]–>


<!–[if lte ie 6]>

<!– 如果IE浏览器版本小于等于6,调用ie.css样式表 –>

<link rel=”stylesheet” type=”text/css” href=”ie.css” />

<![endif]–>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。