CSS IE 6 PNG Fix Tags:, ,

While doing some iPhone web Dev research, I came across this IE 6 CSS PNG Fix.

I am yet to try it, but could be pretty helpful ! :)

/*Fix the PNG background image so that the contents can still be clicked*/
/* http://gist.github.com/9180 */
* html .png-fix-box {
  background: none;
  _azimuth: expression(this.bgd = this.bgd || 'bgd:'+this.insertAdjacentHTML('afterBegin','<div class="bg"></div>'),'inherit');
}
* html .png-fix-box .bg {
  display:inline;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/images/global/discuss-box_top.png', sizingMethod='image');
}

Related posts:

  1. Safari's CSS Support for multiple backgrounds on the same Style
  2. OSX Speech Commands

Subscribe Via Email Notify me of followup comments via e-mail