PDA

View Full Version : shadow


angiras
03-12-2003, 09:03 AM
is there any way to drop a shadow for other browsers than IE without pictures ?

meow
03-12-2003, 09:30 AM
Theoretically there is the CSS property text-shadow (http://www.w3.org/TR/REC-CSS2/text.html#text-shadow-props)' but I don't think any browser supports it. So it's just for the record.

You can do tricks though by repeating the text and use 'position: relative' to move the 'shadow' and z-index do get it under the main text. Of course, it looks like crap in non supporting browsers.

angiras
03-12-2003, 09:58 AM
yes I have allready used this trick..
ok I try text-shadow , but without any parameter even if it works it must be an horror !


thank you

Nightfire
03-12-2003, 10:30 AM
For IE only (I think), you could use this way http://interactive.colum.edu/students/nsoto/4/shadow.htm

oops, nevermind, just re-read the question and and ya said not for IE, can ya tell I just woke up? :p

cg9com
03-12-2003, 07:54 PM
no, i dont think text-shadow is supported yet either, why? i dunno.
it would be used something like ....
h1 {text-shadow: 2px 2px 1px blue, 1px 1px red }
but to make a shadow, you could manipulate borders, or position a box under the box you are using, and manage those with a z-index.