homepage Welcome to WebmasterWorld Guest from 107.21.163.227
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: DrDoc

CSS Forum

    
Background gradient not working in safari
peeyush014pandey




msg:4436097
 6:55 am on Apr 2, 2012 (gmt 0)

I am using telerik Radgrid in which the columns headers are set,the following css works fine for firefox and IE, can you please suggest css for the same in safari, as in safari the background color is coming white.

background: -moz-linear-gradient(center top , #4C5766 0%, #313841 99%) repeat scroll 0 0 transparent !important;/* Firefox */

-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4C5766', endColorstr='#313841')"; /* IE8 */

 

birdbrain




msg:4436115
 8:27 am on Apr 2, 2012 (gmt 0)

Hi there peeyush014pandey,

and a warm welcome to these forums. ;)

Use these...

/* Firefox 3.6+ */
background:-moz-linear-gradient( top,#4C5766 0%,#313841 99%);

/* Chrome10+,Safari5.1+ */
background:-webkit-linear-gradient(top,#4C5766 0%,#313841 99%);

/* Opera 11.10+ */
background:-o-linear-gradient(top,#4C5766 0%,#313841 99%);

/* IE6-9 */
-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4C5766',endColorstr='#313841')";


birdbrain

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved