hi all
i want to use DropShadow filter And background image together for a link class.
but when i add the background image into my class , browser don't show filter on my TEXT !
it's my css code:
a {
display: block;
width: 100px;
height: 24px;
color: #454545;
background: url('MenuBg.gif');
Filter: DropShadow(Color=red, OffX=2, OffY=2, Positive=1) ;
}
can you help me how to use filter and background together for a link class?
thanks<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>DropShadow</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a {
color: #454545;
background: url('MenuBg.gif');
}
span {
Filter: DropShadow(Color=red, OffX=2, OffY=2, Positive=1) ;
display: block;
width: 100px;
height: 24px;
}
-->
</style>
</head>
<body>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#"><span>IE only DropShadow</span></a>
</body>
</html>thanks but i want filter and bg in ONE class
because i want to use this effect in a CMS template
i want to use DropShadow filter And background image together for a link class.
but when i add the background image into my class , browser don't show filter on my TEXT !
it's my css code:
a {
display: block;
width: 100px;
height: 24px;
color: #454545;
background: url('MenuBg.gif');
Filter: DropShadow(Color=red, OffX=2, OffY=2, Positive=1) ;
}
can you help me how to use filter and background together for a link class?
thanks<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>DropShadow</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a {
color: #454545;
background: url('MenuBg.gif');
}
span {
Filter: DropShadow(Color=red, OffX=2, OffY=2, Positive=1) ;
display: block;
width: 100px;
height: 24px;
}
-->
</style>
</head>
<body>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#"><span>IE only DropShadow</span></a>
</body>
</html>thanks but i want filter and bg in ONE class
because i want to use this effect in a CMS template