@laborix
Danke für Deine Infos zum
IE7 und das zusätzlich TEST-Case. Demnach wird es wohl wichtig den Filter vor dem IE7 zu verstecken und da er ja erst ab dem
IE5.5 funktioniert nun noch folgender CODE, der dieses Problem mit Hilfe von
Conditional Comments berücksichtigt. Somit ist auch der CSS-Validator zufrieden!
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de-DE" lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>xxxx</title>
<style type="text/css">
/*<![CDATA[*/
p {
width: 200px;
height:200px;
margin: 1em;
background-color: #FF9900;
background-image: url(alphatransparency.png);
background-repeat: no-repeat;
background-position: top right;
}
/*]]>*/
</style>
<!--[if lt IE 7]>
<!--[if gte IE 5.500]>
<style type="text/css">
p {
background-image: none;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='alphatransparency.png', sizingMethod='scale');
}
</style>
<![endif]-->
<![endif]-->
</head><body>
alphatransparency</p>
</body></html>