pendejo 0 Newbie Poster

the png fix is messing up my site?

http://www.theforeigncompany.com/Zen
has the pngfix in the css code but doesn't work in IE7 for some reason...

http://www.theforeigncompany.com/zenok
as the png code removed and the layout works but the site is a bit messed up from not having the trensparency.

here's the code i assume is the culprit:

* html img, * html .png {
azimuth: expression(
this.pngSet?this.pngSet=true :(this.nodeName == "IMG" ? (this.src.toLowerCase().indexOf('.png')>-1 ? (this.runtimeStyle.backgroundImage = "none", this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')", this.src="img/blank.gif") :'') : (this.currentStyle.backgroundImage.toLowerCase().indexOf('.png')>-1) ? (this.origBg = (this.origBg) ? this.origBg : this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''), this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')", this.runtimeStyle.backgroundImage = "none") : '' ), this.pngSet=true );
}

if anybody is comfortable with this damn png fix it would be really nice if you could point out what i did wrong?


thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.