This thread is quite old but I had the same question and wanted an answer on how to make this work. This was the first topic to pop up in my Google search. After doing a little more digging here is what I was able to come up with. I've
tested it in Windows 7 and Windows 8. Seems to work fine in both.
<html>
<head>
<title>Gradient Example</title>
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<HTA:APPLICATION
APPLICATIONNAME="Gradient Example"
ID="GradientExample"/>
</head>
<script language="VBScript">
</script>
<body STYLE="background-image: linear-gradient(to right, #000000 0%, #0000FF 100%);
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#000000', EndColorStr='#0000FF');
height: 100%;
margin: 0;
background-repeat: no-repeat;
background-attachment: fixed;
font: 14 pt arial;
color: white;">
Is this cool or what?
</body>
</html>
- Edited by
calokieme
17 hours 14 minutes ago