I have a CSS3 linear gradient in my HTA that won't display in IE10 or IE 11 unless I have the 'meta http-equiv="x-ua-compatible" content="IE=edge"' tag in my HTA. If I don't have this it just displays a white background. This is the CSS....
html {
height: 100%;
}
body {
background-image:
linear-gradient(to bottom, #800000 0%, #DB7093 100%);
filter:
progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#800000', EndColorStr='#DB7093');
height: 100%;
margin: 0;
background-repeat: no-repeat;
background-attachment: fixed;
font: 14 pt arial;
color: white;
}
As long as I have the META tag it works fine, but my question is why doesn't it work without this tag?? Surely I don't have to be in Compatibility mode if I am using the latest version of IE with the latest syntax?
<html>
<head>
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<HTA:application id="main" applicationName="Test HTA" />
<link rel="stylesheet" type="text/css" href="test.css" />