Getting unitpngfix to work
I'm trying to get unitpngfix to work, but I can't seem to get the png to display in IE6.
This code of mine:
<html>
<head>
<style type="text/css">
#boxouter {
width: 12em;
height: 12em;
background: url(gradient.gif) #ffdf00 bottom repeat-x;
position: relative;
}
#boxinnerbr {
position: absolute;
bottom: 0;
right: 0;
width: 16px;
height: 16px;
background: url(corner.png);
}
</style>
<!--[if lt IE 7]>
<script type="text/javascript" src="unitpngfix.js"></script>
<![endif]-->
</head>
<body>
<div id="boxouter">
<div id="boxinnerbr"></div>
</div>
</body>
</html>
I have clear.gif in the right place and linked to the right one, etc., so I just don't understand why it doesn't work.
+1
chrism
source
to share
4 answers
Not exactly a straightforward answer to your question, but you can take a look at DD_belatedPNG . This is the best PNG fix in my opinion.
0
source to share