2 Replies Latest reply on May 19, 2010 9:11 AM by Igorbuitendijk

    gradients in firefox

    Igorbuitendijk Level 1

      Hi;

      I recently got some code to use gradients in DW cs4.

      The code included also some firefox and chrome statements to work in those browsers as well.

      However the gradients are not working in firefox while they do work in IE and Chrome.The only reason I can come up with is that the Mozilla piece has some faults in it.

      Is there someone who knows the answer?

      Here's the complete gradient-code I used:

       

      background: -moz-linear-gradient( top, #0032CB, #3366FF);

      background: -webkit-gradient( linear, left top, left bottom, from(#0032CB), to(#3366FF));

      -ms-filter:"progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#0032C B,endColorStr=#3366FF";

       

      So only the -moz- part doesn't work,the rest is okay.

      Thanks for the help!