Padding causes elements to stretch

netbjarne - December 3, 2008 - 13:59
Project:PNG Behave!
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:mrjeeves
Status:closed
Description

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

#1

mrjeeves - December 3, 2008 - 14:08
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

mrjeeves - December 3, 2008 - 19:38
Status:active» needs review

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

#3

mikeytown2 - December 4, 2008 - 00:02

Awesome, it works!

#4

mrjeeves - December 4, 2008 - 04:09
Status:needs review» fixed

#5

netbjarne - December 6, 2008 - 16:42

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

#6

System Message - December 20, 2008 - 18:06
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.