Download & Extend

Padding causes elements to stretch

Project:PNG Behave!
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:mrjeeves
Status:closed (fixed)

Issue Summary

I've been ignoring the issue with missing png transparency in IE6, after all, people can just update their software right?

However, if a simple module can ensure a more pleasent rendering of my website, why not.

But - although my logo is now transparent, also in IE6, its vertically stretched? - please see the attached screenshot - its Firefox in the background with the correct rendering.

Any ideas?

AttachmentSize
pngbehave_ie6bug.png45.33 KB

Comments

#1

Title:Garland logo stretched in IE6 » Padding causes elements to stretch
Assigned to:Anonymous» mrjeeves

I have been researching your issue and have discovered that padding and borders can cause images to 'skew' when the height and/or width is not set. I am currently testing a fix I cooked up (since I don't want to have to manually define my image dimensions either), though it is also possible to avoid this by setting the height/width manually.

#2

Status:active» needs review

I have implemented a fix for this issue in Version 1.2, available now.

#3

Awesome, it works!

#4

Status:needs review» fixed

#5

Beautiful! - Finally its possible to use transparent pngs in core themes without anoying those poor ie6 users! :D Nice job mrjeeves.

#6

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.