Click to See Complete Forum and Search --> : Glow vs. Shadow
charish2k1
06-20-2003, 09:11 AM
Now I'm wondering: is there a way o put a glow and shadow in CSS together in the coding:
<table style="filter:. . . "><tr><td>Your Text Here</td></tr></table>
If you can, how?
DaveSW
06-23-2003, 09:06 AM
Theoretically I suppose so... If you had to (?)
style="filter:...; text-shadow:3px 3px 5px red;"
Whether it will work in practice though... You also have the problem of what to put the shadow on. The glow or the text?
charish2k1
06-23-2003, 09:41 AM
I wanna just put the shadow on everything
DaveSW
06-23-2003, 09:46 AM
Try them in that order then. the first two pixel measurements in the shadow are the offset. next is the blur, and third is the color. I haven't tried it though, to see if it works. Good luck!!
charish2k1
06-23-2003, 09:40 PM
Uhhh, thanks, but one thing, lol; coulja show me an example from coding (*learns better that way*) just in case I know if it's summen I've done or not? :D
DaveSW
06-24-2003, 10:17 AM
I can't get the text-shadow property to work, but this does.
<DIV STYLE="position:absolute; width:200px; height:50px; filter:glow(#ffffcc, 50) dropshadow()">
Fantastic Effects!<br>
</DIV>
The position has to be set to absolute, and the width and height stop it clipping the bottom of the shadow. The 50 value is the strength of the glow (1 to 255).
spufi
06-24-2003, 01:07 PM
Is this an IE only kind of thing because it's not working in Mozilla 1.3 for me. Too bad because I think this would be rather cool to play around with and I tend to use stuff that isn't browser specific.
DaveSW
06-24-2003, 01:35 PM
Yeah I think it's an IE thing. version 4 up.
see if you have any better luck with the text-shadow thing