Hi,

I'm using pngFix and I'm running into some weird thing.

I have a .png file (logo.png) . Dimensions:  w: 124px, h: 124px.

When doing the pngFix, the dimensions are altered to 120/120.

It seems that width property of the image will return 120, but it in
fact is 124px! Within the pngFix, the .width is used to determine the
with of the .png

$("#logo img").width() ==> 120
$("#logo img").attr("width") ==> 124

Used html:
<div id="logo"><a href="#"><img src="logo.png" /></a></div>

Used css:
#logo { width: 124px; height: 124px; position: relative; }
#logo img { width: 124px; height: 124px; }

What can I do?

Reply via email to