Gradient not working in Chrome, but works in Firefox
css, firefox, google-chrome, html
Solution
The `-webkit-gradient` property is deprecated. Use the new gradient syntax:
background: -webkit-linear-gradient(#000, #888);
Problem
I'm trying to use the webkit gradient tag for Chrome, but it doesn't work at all. I've tried it in Firefox with the `background:-moz-linear-gradient(#000, #888);`, and it works just fine. However with `background: -webkit-gradient(linear, from(#000), to(#888));` it doesn't work. Here's my bit of code: ``` echo "<tr style='background:-moz-linear-gradient(#000, #888); background: -webkit-gradient(linear, from(#000), to(#888));'><td width='65'><img src='images/avatar/defaultuser.jpg' height='65' width='65'>"; ```