Closed (fixed)
Project:
Sands
Version:
4.7.x-1.x-dev
Component:
Rendering issues
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2006 at 14:52 UTC
Updated:
16 Aug 2012 at 11:01 UTC
When I nsert my logo.png I got grey box aound the logo in IE but at firefox is ok I know this problem could be solved by diffrent ways by using CSS hack or javascript so I tried with javascript and the result is ok on some pages only.
I would like to know the best solutions for this issue.
Comments
Comment #1
zyara commentedComment #2
zyara commentedI found some fixes at Meta theme
http://drupal.org/node/43376
which include javascript solutions http://homepage.ntlworld.com/bobosola/ but it has some downgrade too http://homepage.ntlworld.com/bobosola/pnginfo.htm
and even so where I should put the code I tried that with page.tpl.php but as I saied before some pages show the logo correctly and other is not.
Comment #3
Samat Jain commentedI haven't put in a MSIE PNG transparency fix because none of the available ones would fix the transparency issue with the use of the icons next to links. It is possible, but something custom would need to be written that I have not had the time to write.
That Javascript version is a little inefficient: it loops through all image tags (there may be many in a page) and tries to set MSIE's PNG transparency fix on them. If you reload the page, it may work?
Comment #4
zyara commentedProblem FIXED:-)
First I tried to call the script file (fixpng.js) from page.tpl.php but its work with some pages only.
Second I inculde the script inside page.tpl.php after head tag as follow and it worked great:
This is easiest way to do after research all drupal.org and outside websites.
Comment #5
Samat Jain commentedI'm going to integrate this (that is, a fix for MSIE's PNG support) into Sands/Sands_CSS one day, but that day is not today.
Comment #6
dinesh kudtarkar commentedThanks zyara..
Comment #7
davemcza commentedThank you zyara.
Comment #8
dinesh kudtarkar commentedThis can be marked as fixed