xhtmlのコメントを利用するためあまり推奨しない。
条件分岐コメントを使ってIE7未満(6以前)に外部スタイルシートを読み込ませる。
<!--{if It IE 7}>
<link rel="stylesheet" type="text/css" href="css/ie6.css" />
<![endif]-->
IE7にだけ外部スタイルシートを読み込ませる。
<!--{if IE 7}>
<link rel="stylesheet" type="text/css" href="css/ie7.css" />
<![endif]-->
コメントする