Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Text-shadow does not work on all browsers. How to fix it?
Old 02-02-2010, 04:40 AM Text-shadow does not work on all browsers. How to fix it?
Novice Talker

Posts: 6
Trades: 0
Hi,

I am working on a website and trying to create a text header with shadow. I used the following code:

Code:
text-shadow: gray 0.06em 0.06em 0.1em;
It looks just as I like in Google Chrome 3, however, it shows no shadow in IE 8 and a bigger shadow in Firefox 3.5.7. Is there any way to fix this and make it look like same in all browsers?
ademmeda is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-02-2010, 05:41 AM Re: Text-shadow does not work on all browsers. How to fix it?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Not really

Other than have patience and wait until CSS3 is implemented in all browsers.

the property has a chequered history, originally in CSS2 spec, removed from CSS2.1 and now included in CSS3. So support is aomewhat "patchy".

IE has proprietary properties (no surprise there then) in the filters.
http://www.workingwith.me.uk/article...r-drop-shadows
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-02-2010, 05:54 AM Re: Text-shadow does not work on all browsers. How to fix it?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by 5online View Post
following code will work

color: #000;
background: #fff;
text-shadow: 2px 2px 3px #000;
Yep.

EXACTLY as the code in the first post will work!
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Text-shadow does not work on all browsers. How to fix it?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14671 seconds with 12 queries