Return to Snippet

Revision: 34252
at October 19, 2010 23:20 by neal_grosskopf

Initial Code
var el = document.createElement("div");
if(typeof == "string")
//Your browser supports the CSS Opacity property";
} else if (typeof == "string"){
//Your browser doesn't support the CSS Opacity property but does support IE filters";
} else {
//"Your browser doesn't support the CSS Opacity property";

Initial URL

Initial Description
Learn how to test for CSS property support in specific browsers using this simple Javascript technique.

Initial Title
Determine CSS Property Support Using Javascript Feature Testin

Initial Tags
css, javascript

Initial Language