【发布时间】:2010-09-27 07:37:02
【问题描述】:
我正在尝试让 unitpngfix 工作,但我似乎无法让 png 在 IE6 中显示。
这是我的代码:
<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>
我将 clear.gif 放在正确的位置并正确链接到等等,所以我只是不明白为什么它不起作用。
【问题讨论】:
标签: css internet-explorer png