Skip to content

Instantly share code, notes, and snippets.

@subtleGradient
Created September 6, 2008 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save subtleGradient/9180 to your computer and use it in GitHub Desktop.
Save subtleGradient/9180 to your computer and use it in GitHub Desktop.
/*Fix the PNG background image so that the contents can still be clicked*/
* 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');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment