同一ブロック内に1つのプロパティについて!importantキーワードがある宣言とない宣言を置いた場合、!importantキーワードは無視されより後にある宣言が有効になる。
<style type="text/css">
div.test {
font-size: 200%;
color: red !important;
color: blue;
}
</style>
<div class="test">赤色</div>
!importantキーワードがあるため、前景色は赤色になるはずです。
Netscape7.1標準モード
WinIE6.0標準モード