日期:2014-05-17 浏览次数:21214 次
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>?</title>
<style type="text/css">
.divBox {
width:100px; height:100px; border:solid 1px red;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='flashbutton.gif' ,sizingMethod= 'scale' );
background-repeat: no-repeat;
background-positon: 100%, 100%;
}
</style>
</head>
<body>
<div class="divBox">test...</div>
</body>
</html>
------解决方案--------------------
你先用格式工厂将图片转换成100*100的,然后再写到div中不就好了
------解决方案--------------------