<!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>
<title></title>
<style type="text/css">
body{background-color:Red;}
</style>
<script src="js/DD_belatedPNG.js" type="text/javascript"></script>
<script type="text/javascript">
DD_belatedPNG.fix('.pic');
</script>
<style type="text/css">
.pic
{
background:url(images/png-24.png);
width:454px;
width:343px;
height:173px;
}
</style>
</head>
<body>
login页面
<div class="pic">
</div>
</body>
</html>
ie6下png图片变透明解决方案
最新推荐文章于 2025-11-30 09:20:25 发布
本文介绍了一个简单的HTML页面结构,展示了如何使用CSS来设置背景颜色,并引入了JavaScript脚本来处理图片的显示问题。通过具体的代码实例,读者可以了解到基本的网页布局方法。
407

被折叠的 条评论
为什么被折叠?



