This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > February 2004 > How do I turn this script into proper CSS





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How do I turn this script into proper CSS
Colin Steadman

2004-02-18, 6:28 am

I'veworkouthowtousethefiltergradientusingthislink:

http://msdn.microsoft.com/workshop/...rs/gradient.asp

ButIcantconvertitintoproperCSS,couldanyoneshowmehowits
done.Mytestpageiscopiedbelow-

TIA,
Colin


<html>
<head>
<stylerel="stylesheet"type="text/css">
</style>
</head>
<body>


<tableid=cssTest>
<tr>
<td>WisdomLikeSilence</td>
</tr>
<tr>
<td>ShootThemLater</td>
</tr>
<tr>
<td>AnticipationOfANewLoversArrival</td>
</tr>
</table>


<script>
document.all('cssTest').style.filter=
"progid:DXImageTransform.Microsoft.Gradient(GradientType=0,
StartColorStr='#D3DFFF',EndColorStr='#FFF7E3')";
</script>

</body>
</html>
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews