There is no way that i know of and the only way i think you can have fading is by using the IE filters (which means that of course it will only work with IE).
Here is a solution and it is by no means eligant but it seems to work:
PHP Code:
<html>
<head>
<style type="text/css">
<!--
div.wrapper {
width:100%;
background-color:#cccccc;
}
div.lhr {
float: left;
margin-right:0px;
width: 50%;
height:1px;
font-size:0px;
filter:progid:DXImageTransform.Microsoft.Gradient
(GradientType=1,StartColorStr='#FFFFFF',EndColorStr='#CCCCCC');
}
div.rhr {
margin-left:0px;
width: 100%;
height:1px;
font-size:0px;
filter:progid:DXImageTransform.Microsoft.Gradient
(GradientType=1,StartColorStr='#CCCCCC',EndColorStr='#FFFFFF');
}
-->
</style>
</head>
<body>
<div class="wrapper">
<div class="lhr"></div>
<div class="rhr"></div>
</div>
</body>
</html>
Bookmarks