View Full Version : Dropshadow for Div Layers


Bee
02-13-2004, 07:47 AM
Hey guys,

I was wondering if anyone could help me with this problem I have. I'm trying to add a dropshadow to a div layer that I have on my site. At the moment I have this css style sheet for the div in question:

#menu
{
position:absolute;
margin-left:5px;
margin-top:275px;
width:200px;
border:1px solid #B5BDB2;
padding:10px;
font-family: verdana, tahoma, arial;
letter-spacing: 1px;
font-size:10px;
line-height: 12px;
color: #000000;
}

Is there anything I can add to that for a dropshadow?

MaGiCSuN
02-13-2004, 09:47 AM
#menu
{
position:absolute;
margin-left:5px;
margin-top:275px;
width:200px;
border:1px solid #B5BDB2;
padding:10px;
font-family: verdana, tahoma, arial;
letter-spacing: 1px;
font-size:10px;
line-height: 12px;
color: #000000;
filter: DropShadow(color=#COLOR,offx=5,offy=5,positive=1);
}

edit the bold part :) offx and offy means the position of the shadow away from the text. So in this case it's 5 pixels to left, and 5 pixels down.

Love,
Mirna

Bee
02-15-2004, 08:21 AM
Thanks so much for your help Mirna. :)

MaGiCSuN
02-15-2004, 07:29 PM
Your welcome :)

Love,
Mirna