PDA

View Full Version : Dropshadows for tables


00XxXxX00
03-16-2003, 03:18 PM
is there a code for dropshadows on tables?

Decoration: dropshadow?

I just want a white dropshadow on a black background.

l3vi
03-16-2003, 08:18 PM
Yupperooo! U can do that. Its actually really easy. Add this code into the table:

style="filter:progid:DXImageTransform.Microsoft.Shadow(color=#FFFFFF,direction=135,strength=3);"

Edit everything that is in red to whatevver you want. :)

00XxXxX00
03-17-2003, 12:37 AM
:D Thanks that helped alot

J.C.
03-17-2003, 09:57 PM
Couldn't get this to work, what did I miss?

Quiet Storm
03-17-2003, 10:36 PM
What browser are you using?

Above only works in IE I believe...

J.C.
03-17-2003, 10:40 PM
IE 6.x Win98 seII

Quiet Storm
03-17-2003, 10:44 PM
Originally posted by l3vi

style="filter:progid:DXImageTransform.Microsoft.Shadow(color=#FFFFFF,direction=135,strength=3);"


Try putting in a width attribute (whatever the width of your table is):

style="width:300px; filter:progid:DXImageTransform.Microsoft.Shadow(color=#FFFFFF,direction=135,strength=3);"

sandorah
03-18-2003, 01:02 AM
Wow.. when I tried it, my text had the drop shadow. ooops, think I might have messed that up. I think I'll try again.....

cg9com
03-18-2003, 04:20 PM
keep in mind that the above solution is just a proprietary method, you can use CSS to create a dropshadow.
this way it will actually work in more than 1 browser.

Quiet Storm
03-18-2003, 06:43 PM
Originally posted by cg9com
you can use CSS to create a dropshadow.
this way it will actually work in more than 1 browser.

Are you thinking of something like this?:


border-right:3px #000 solid;
border-bottom:3px #000 solid;

cg9com
03-18-2003, 06:55 PM
that and other ways.