View Full Version : shadows


MistressVivi
11-10-2003, 10:09 PM
Could someone tell me how to add a drop shadow to my text, please? Much appreciated =)

kittycat
11-11-2003, 02:48 AM
http://www.lissaexplains.com/fun7.shtml

Scroll down a bit.

MistressVivi
11-11-2003, 03:04 AM
Alrighty, so how would I insert that into a div?

.nav
{
{border:1px solid;
margin:1;padding:1;
text-align:left;
background-image:url(div.jpg);}
So then I add the code for the shadow

.nav
{
{border:1px solid;
margin:1;padding:1;
text-align:left;
background-image:url(div.jpg)
filter:shadow(color=#9BAD71, direction=225);}
and it doesn't work. How do I fix this?

kittycat
11-11-2003, 03:12 AM
1. that's the code for 'blur', not dropshadow, unless you've decided on that one instead.

2. You need to add a height or width attribute for it to work.

MistressVivi
11-11-2003, 03:19 AM
Well, I can get it to work without height and width, but I have to delete all the other stuff in the div. So, I think it might be something with the code *shrug* In any case, how do I add a height and width attribute?

kittycat
11-11-2003, 09:29 PM
.nav
{
{border:1px solid;
margin:1;padding:1;
text-align:left;
background-image:url(div.jpg)
filter:shadow(color=#9BAD71, direction=225);
width: ##px;
height: ##px;
}

Change ## to the number of pixels.