FF IE browser changes the method of label transparency

  • 2020-03-30 01:34:16
  • OfStack

 
//FF browser
document.getElementById("IMG1").style.opacity = "0.5"; 
//IE browser
document.getElementById("IMG1").style.filter = 'alpha(opacity=50)'; 

The W3C standard is written the same way as the FF browser.

Related articles: