Is this a new feature? My site has the requirement of being on ASP.NET 2.0. I tried coding this into my stylesheet, and it didn't recognize "text-shadow".
text-shadow is a css3 specification and IE 9 doesn't support this. Hopefully IE 10 will have support for this. Until all browsers support CSS3, you can use javascript based solutions that will render shadow in browsers that doesn't support text-shadow.
One easy way to do this is use images. As the above users said, there are some CSS3 properties to achieve this but CSS3 would only work in latest browsers. It will not work for older browsers.
GrassProgram...
Member
359 Points
244 Posts
How to have a shadow on a Label?
Jun 12, 2012 04:53 PM|LINK
How do I have a shadow on my label?
MahadTECH
Star
8976 Points
1659 Posts
Re: How to have a shadow on a Label?
Jun 12, 2012 04:59 PM|LINK
Good day` GrassProgrammer :-)
you can achieve this by CSS Shadow..
http://www.w3.org/Style/Examples/007/text-shadow.en.html
h1.b {text-shadow: 0.1em 0.1em 0.2em black}Good luck`
Mahad Bin Mukhtar
Remember to Mark the replies as Answers
The easiest day was 'yesterday'.
MCP, MCSD
For .NET TECH Blog
GrassProgram...
Member
359 Points
244 Posts
Re: How to have a shadow on a Label?
Jun 12, 2012 05:13 PM|LINK
Is this a new feature? My site has the requirement of being on ASP.NET 2.0. I tried coding this into my stylesheet, and it didn't recognize "text-shadow".
sreejukg
All-Star
27499 Points
4097 Posts
Re: How to have a shadow on a Label?
Jun 12, 2012 05:27 PM|LINK
text-shadow is a css3 specification and IE 9 doesn't support this. Hopefully IE 10 will have support for this. Until all browsers support CSS3, you can use javascript based solutions that will render shadow in browsers that doesn't support text-shadow.
refer this
http://www.hintzmann.dk/testcenter/js/jquery/textshadow/
My Blog
Ruchira
All-Star
42887 Points
7020 Posts
MVP
Re: How to have a shadow on a Label?
Jun 13, 2012 08:37 AM|LINK
Hello,
One easy way to do this is use images. As the above users said, there are some CSS3 properties to achieve this but CSS3 would only work in latest browsers. It will not work for older browsers.
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.RameshRajend...
Star
7983 Points
2099 Posts
Re: How to have a shadow on a Label?
Jun 13, 2012 08:50 AM|LINK
Hai
Pls look this
http://www.codeproject.com/Articles/11357/Drop-Shadow-Label
Thank u