I'm attempting to create a CSS gradient, and it's working perfectly in all browsers except for Firefox 3.5. Here is the code snippet I am using:
#gradient {
color: #fff;
height:50px;
padding:0;
width:940px;
margin:0 auto;
background: -moz-linear-gradient(top, #CFE782 0%, #9BCB2A 2%,#5DA331 97%, #659635 100%);/* For Mozilla/Gecko (Firefox etc) */
}
I have excluded the background properties for other browsers. So, my question is, why is this not functioning as expected in Firefox 3.5 and what alternative solution would be more reliable?