View Full Version : Dropshadow?


anime_rose
07-01-2004, 02:58 AM
Alright, I'm putting up a new layout at MokoraNET and it has a complicated pattern for a background, and so the text is somewhat hard to see. Therefore, I'm trying to put a dropshadow beneath the words and make them more legible, but I don't exactly know what code to use, and the last time I tried this, Lissa's code didn't work. And where would I put it in my CSS coding?

Here's my coding:

td, table, tr, body {

font-family: tahoma;
color: #910301;
letter-spacing: 0px;
font-weight: normal;
text-align:justify;
font-size: 10px;
cursor:e-resize;
direction:;
background-attachment:;
scrollbar-arrow-color: 2A0101;
scrollbar-track-color: 2A0101;
scrollbar-face-color: 2A0101;
scrollbar-highlight-color: 2A0101;
scrollbar-3dlight-color: 910301;
scrollbar-darkshadow-color: 2A0101;
scrollbar-shadow-color: 910301;
line-height:7pt;

}

a { color:#7B6534; font-weight:bold;}
a:link { color:#7B6534; font-weight:bold;}
a:visited { color:#7B6534; font-weight:bold;}
a:active { color:#7B6534; font-weight:bold;}

a:hover { color:#910301; text-decoration:underline; cursor:n-resize;

}

Thanks in advance! ^.^

Alcy
07-01-2004, 03:44 AM
It depends where your text is. If it's in a table, you can use this... or replace the "td" with "table"
td {
filter: dropshadow(Color=#00ff00, OffX=2, OffY=2, positive=2);
}

Although it might be easier just to use a div:
<div style="width: 400px; filter: dropshadow(Color=#00ff00, OffX=2, OffY=2, positive=2);">
text
</div>

anime_rose
07-01-2004, 04:18 AM
Well, it's in a div... What could I do then?

ham_let
07-01-2004, 04:24 AM
<div style="filter: dropshadow(Color=#00ff00, OffX=2, OffY=2, positive=2);"> TEXT HERE </div>

Dude128
07-01-2004, 04:26 AM
take a look at the second half of Alcy's post :P

ham_let
07-01-2004, 04:47 AM
take a look at the second half of Alcy's post :P
LOL omg lefty i'm on a roll :)

lefty
07-01-2004, 05:07 AM
Except that's Dude :P