![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Feb 2003
Posts: 6,040
|
HELP! Transparent PNG's in IE look awful
Hey designers,
Can anyone give me a heads up about why these certain text-based transparent pngs are looking great in every browser except for IE (and it's IE 8 NO compatibility mode for that matter). I've trieds dozens of different save settings from Photoshop, and as you can see the Icon at the top which is also a transparent png looks fine, but I can't for the life of me figure out why this text is ugly around the edges. Even tried recreating the graphic in a different program (Flash) and got similarly crappy results. Also tried a different (but similar) font, similar results. In all my years, I've never seen this exact problem before. Maybe I am just brain-dead from starting at a screen for 20 hours. Anyone help a guy out with some wisdom? See image ![]() THANKS! -Phil |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
The div the image on top most likely needs a matching background put in. Along those lines. I have seen it happen and IE will literally add extra pixels to an area.
I was never able to figure out exactly why but that is my best guess that i have found. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Biker Gnome
Industry Role:
Join Date: Mar 2004
Location: cell#324
Posts: 23,200
|
doesn't the dithering setting have something to do with it?
__________________
Carbon is not the problem, it makes up 0.041% of our atmosphere , 95% of that is from Volcanos and decomposing plants and stuff. So people in the US are responsible for 13% of the carbon in the atmosphere which 95% is not from Humans, like cars and trucks and stuff and they want to spend trillions to fix it while Solar Panel plants are powered by coal plants think about that |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
( ͡ʘ╭͜ʖ╮͡ʘ)
Industry Role:
Join Date: Mar 2004
Posts: 20,010
|
![]() ![]() Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Feb 2003
Posts: 6,040
|
Thanks for the comment MetaMan. Unfortunately, this png is used as the bg for a div which moves around the page and appears in front of a few different divs in its' various states, so changing the bg of the div behind it is not feasible.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Feb 2003
Posts: 6,040
|
dithering definitely affects the over all quality of the edges, but in this case it's not the problem. I have tried all of the different dithering options and they all have similar artifacts around the edges when viewed in IE. If the image were looking jagged in all browsers, that would probably be a dithering issue.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
|
Here's how I deal with transparent crap in ie... Make PNG's Transparent in Internet Explorer 4th tip down. I've never seen your issue come up doing it this way, it works in all modern ie's as well.
__________________
![]() ![]() ![]() It's all disambiguation ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Apr 2006
Location: Germany
Posts: 4,323
|
iepngfix.htc
__________________
--- ICQ 14-76-98 <-- I don't use this at all |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Biker Gnome
Industry Role:
Join Date: Mar 2004
Location: cell#324
Posts: 23,200
|
Quote:
__________________
Carbon is not the problem, it makes up 0.041% of our atmosphere , 95% of that is from Volcanos and decomposing plants and stuff. So people in the US are responsible for 13% of the carbon in the atmosphere which 95% is not from Humans, like cars and trucks and stuff and they want to spend trillions to fix it while Solar Panel plants are powered by coal plants think about that |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Feb 2003
Posts: 6,040
|
Thanks for all the replies, guys.
SOLUTION: I finally got it working, but the suggested fixes didn't quit do it because they all implement AlphaImageLoader which just replicates the same problem IE8 is creating all on its own. The solution I finally got to work was to use a script called DD_belatedPNG ( http://www.dillerdesign.com/experiment/DD_belatedPNG/ )which uses Microsoft VML to fix the pngs (and allows fixing on a per-element basis, which is what I wanted). Then I had to use a <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" > to force IE8 to emulate IE7 and thus trigger the script. With that combination, my f'd up PNGs are finally looking as good as they should in IE8! Thanks again for the comments. -Phil |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: oddfuturewolfgangkillthemall!!!!!!!
Posts: 5,656
|
Microsoft deserves to go bankrupt. It's so fucking unacceptable how much their browser is lacking and behind everything else.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed Fetishist
Industry Role:
Join Date: Mar 2005
Location: Fetishland
Posts: 11,526
|
ie png fix ftw
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
It's 42
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
|
Code:
<!--[if IE]> Special instructions for IE here <![endif]--> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
|
yes, if you use jquery you can use this one
http://plugins.jquery.com/project/iepngfix
__________________
Make a bank with Chaturbate - the best selling webcam program ![]() ![]() ![]() Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!! PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email: ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Join Date: Feb 2003
Posts: 6,040
|
Quote:
That plugin will do the trick if you're just worried about ie 5/6 displaying transparency at all, but it won't necessarily be gorgeous 100% of the time. -P |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Outside looking in.
Industry Role:
Join Date: Feb 2005
Location: To Hell You Ride
Posts: 14,243
|
Someone needs to code this...
if IE force download of chrome, open page in chrome! ;)
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Industry Role:
Join Date: Nov 2004
Location: The Netherlands
Posts: 573
|
never had this problem in IE with transparent png's....looks almost like you used an 8 bit PNG?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Confirmed User
Join Date: Feb 2003
Posts: 6,040
|
Quote:
I found out the problem is because I am animating the opacity value of these pngs. There's a really great page about this specific problem with the solution that I used: http://www.mezzoblue.com/archives/20.../ie8_still_fa/ Here's an exert from the article: "It seems that IE?s implementation of PNGs with alpha transparency is still buggy or incomplete in some way. When you place a PNG with alpha on a static page, you?ll never be the wiser. It?s when you adjust the opacity of that PNG that you run into problems. Take the following example:" |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,494
|
Quote:
work correctly. It's usually flash or windows media player that causes problems for me in FF. Maybe it's my computer also, but changing to IE gets me passed the problem. My web stats show 41% using IE and 22% using FF. Safari = 23%.
__________________
Make Money with Porn |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Industry Role:
Join Date: Dec 2004
Location: Denver
Posts: 6,559
|
Love all the people throwing out the pngfix shit which is specifically for IE6. I swear no one reads anything anymore.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |