Удалите код IE6-only из вашего CSS и сделайте условный фрагмент в вашем html:
В вашем CSS:
img.hoverborder {
border: solid 4px transparent;
/*Propriété propre à Internet Explorer 6.0 */
/*border-color: pink;*/
/*filter: chroma(color=pink);*/
/* IE6 stuff removed*/
}
В вашей HTML-главе
<!-- your normal StyleSheet -->
<link type="text/css" rel="stylesheet" href="css/StyleSheet.css"/>
<!-- overrides for IE 6 -->
<!--[if lte IE 6]>
<style type="text/css">
img.hoverborder {
/*Propriété propre à Internet Explorer 6.0 */
border-color: pink;
filter: chroma(color=pink);
}
</style>
<![endif]-->
В качестве альтернативы вы можете включить в условную часть другую таблицу стилей CSS, например:
<!-- your normal StyleSheet -->
<link type="text/css" rel="stylesheet" href="css/StyleSheet.css"/>
<!-- overrides for IE 6 -->
<!--[if lte IE 6]>
<link type="text/css" rel="stylesheet" href="css/StyleSheet-IE6.css"/>
<![endif]-->
Код в <!--[if lte IE 6]> .... <![endif]-->
будет использоваться только тогда, когда оператор if равен true.В этом случае, когда браузер имеет значение lte IE 6
(ниже или равно Internet Explorer 6), то есть для IE6 и ниже, поэтому он не будет работать в FF4 и не сделает вашу рамку розовой.Он также не будет розовым в IE7 и более поздних версиях или в любом другом браузере.