The custom Microsoft Gradient filter does not display as expected in strict
IE8 mode when the style includes a background color, using Internet Explorer
8.0.6001.18702 on Windows XP SP3. The gradient works in IE7 mode, or if the
element does not have a background color, or if the element is a button.
See the extended example below.
<html>
<head>
<title>Gradient test in IE</title>
<meta http-equiv="X-UA-Compatible" content="IE=8">
<style type='text/css'>
..grad
{
color:yellow;
filter

rogid

XImageTransform.Microsoft.Gradient
(GradientType=0,StartColorStr='white',EndColorstr= 'blue');
background-color:green;
}
</style>
</head>
<body>
<h1>Gradient test</h1>
This is a test for a bug in Internet Explorer 8.
We expect to see a blue gradient instead of a green block in the table.
This works if you change IE=8 to IE=7 for X-UA-Compatible
*or* remove the background-color from the stylesheet.
(You must also allow "active content".)
<table class="grad" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr height="55"><td>Hello, world!</td></tr>
</table>
Note that buttons have gradient in IE8 mode even with a background color:<br>
<input type="submit" value="Hello, world!" class="grad">
</body> </html>
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.
http://www.microsoft.com/communities...orer. general