PDA

View Full Version : CSS text-shadow property



jaysh4922
03-25-2015, 06:44 AM
Hi,

I have a question about text-shadow in CSS2. I've never used this before and couldn't figure it out. Can anyone help??

What I'm trying to do is a white text with red outline around the letters. I don't want to use an image, but create it with css.

My last try was:

.motto {
font : normal bold 14px Arial Black;
color : white;
text-shadow : 3px 3px 5px black, -3px -3px 5px black;
}

No shadow or outline on IE6 and NS 6.1, just white 14px Arial Black text.

Any ideas?? Also do you know of any browser bugs with this.

Thanks in advance.

A small .gif attached to show what I'm trying to do...

marios.frag
03-28-2015, 07:45 AM
Are u still bothering with IE 6 ????
Oh my god.... It's 2015 ! IE 11 is outhere !!
IE 6 is too old...Is DEAD!

Anyway, check this link :

http://www.useragentman.com/blog/2011/08/24/how-to-simulate-css3-box-shadow-in-ie7-8-without-javascript/

randiv
04-01-2015, 07:47 AM
Thanks for sharing, This is very informative.