homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

DD BelatedPNG, has anyone used this?

5+ Year Member

Msg#: 3995288 posted 10:24 pm on Sep 24, 2009 (gmt 0)

Hi guys,
In trying to workaround the lack of png transparency in IE 6, I am trying to use: <snip>

I have the code they recommend:
<div id="socialdiv" style="margin: 6px 0 0; text-align: center;">
onclick="window.open(this.href); return false;" style="text-decoration:none;">
<img src="images/socialicons/Icon/twitter.png"
alt="Tweet This"
style="vertical-align: middle;" title="Tweet This" /> Tweet This</a>

Code for IE 6 png transparency(below the div above):

<!--[if IE 6]>
<script type="text/javascript" src="css/DD_belatedPNG_0.0.8a.js"></script>
<script type="text/javascript">

/* string argument can be any CSS selector */
/* .png_bg example is unnecessary */
/* change it to what suits you! */

I keep getting a belatedPNG undefined error. Has anyone else tried this? Please let me know what I'm doing wrong.
Or if there is a better way to fix IE 6 transparency issue.

[edited by: swa66 at 8:52 am (utc) on Sep. 25, 2009]
[edit reason] No URLs, use exmaple.com, please see ToS and Forum Charter [/edit]


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved