Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 2007nov14 Keywords: IE, alpha Platform: web Warning: About an old version Q. How do I do transparency in Microsoft Internet Explorer? A. You'll find lots of pages that say you need to specify the transparency two ways in your CSS:filter:alpha(opacity=85); /* for IE */ opacity: .85; /* Regular CSS */But I have found from experimentation that IE also requires a width or height in the CSS. For example:filter:alpha(opacity=85); /* for IE */ opacity: .85; /* Regular CSS */ width: 100px;It makes no sense but that's the way. Even in IE7.
Add a commentSign in to add a comment