467,115 Members | 1,295 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,115 developers. It's quick & easy.

css (font shadow for html)

hi there,
i'm trying to drop shadow on text using html. but i don't know how. html has for bold, italic, strike, etc, but doesn't have drop shadow.
please help. and i really thankful for the script or any suggestion
Jan 25 '08 #1
  • viewed: 9910
Share:
2 Replies
just a feeling
Hi Raninda,

Try this,
[HTML]<h4 class="container"> A headline with a drop shadow<span class="text">A headline with a drop shadow</span> </h4>[/HTML]

Style:
Expand|Select|Wrap|Line Numbers
  1. <style type="text/css">
  2. .container { position: relative; left: 1px; top: 1px; color: #666; }
  3. .text { position: absolute; left: -1px; top: -1px; color: #000;} 
  4. </style>
Shadow

HTH,
Rawan.
Jan 25 '08 #2
drhowarddrfine
Expert 4TB
There is no method for doing drop shadow in html or css. In CSS3 there is a text-shadow property but, right now, only Safari and Opera implement it.

justafeeling's method is one of two I am aware of.
Jan 25 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by bart plessers | last post: by
1 post views Thread by Paulo Jan | last post: by
3 posts views Thread by Pawel | last post: by
4 posts views Thread by tshad | last post: by
4 posts views Thread by Barry Kelly | last post: by
reply views Thread by Damien Anselmi | last post: by
reply views Thread by =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post: by
3 posts views Thread by mechphisto@gmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.