Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

DD BelatedPNG, has anyone used this?

10:24 pm on Sep 24, 2009 (gmt 0)

New User

5+ Year Member

joined:Aug 15, 2009
posts: 19
votes: 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]