Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

I add some -webkit in the CSS and FF does not see it, in Chrome it works fine. (-webkit-box-shadow)

  • 2 பதிலளிப்புகள்
  • 3 இந்த பிரச்னைகள் உள்ளது
  • 11 views
  • Last reply by cobolCowboy

I'm putting together a website, and as all do I test in all browser. I decided to use shadowing and added -webkit-box-shadow in the CSS for some elements. It works fine in Chrome, not at all in FF3.6

I'm putting together a website, and as all do I test in all browser. I decided to use shadowing and added -webkit-box-shadow in the CSS for some elements. It works fine in Chrome, not at all in FF3.6

All Replies (2)

Webkit is the name of the rendering engine used in browsers like Safari and Chrome. CSS properties prefixed with -webkit- only work in Webkit-based browsers. For compatibility with Firefox 3.5 and higher, use -moz-box-shadow.

For more information, see Mozilla Developer Center - box-shadow

Thank you Gingerbread_Man, that did the trick!