展开全部
<!--这是原代码,我调试过,绝对没错-->
<!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 http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>CSS实验</title>
<style type="text/css">
<!--
.shadow {
background-color: #000000;
height: 200px;
width: 200px;
}
.picture {
position: relative;
left: -10px;
top: -10px;
height: 200px;
width: 200px;
border: 1px solid #000000;
}
-->
</style>
</head>
<body>
<div class="shadow">
<img src="http://www.baidu.com/img/logo.gif" class="picture"/>
</div>
</body>
</html>
<!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 http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>CSS实验</title>
<style type="text/css">
<!--
.shadow {
background-color: #000000;
height: 200px;
width: 200px;
}
.picture {
position: relative;
left: -10px;
top: -10px;
height: 200px;
width: 200px;
border: 1px solid #000000;
}
-->
</style>
</head>
<body>
<div class="shadow">
<img src="http://www.baidu.com/img/logo.gif" class="picture"/>
</div>
</body>
</html>
展开全部
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>CSS实验</title>
<style type="text/css">
<!--
.shadow {
background-color: #000000;
height: 200px;
width: 200px;
}
.picture {
position: relative;
left: -10px;
top: -10px;
height: 200px;
width: 200px;
border: 1px solid #000000;
}
-->
</style>
</head>
<body>
<div class="shadow">
<img src="http://www.baidu.com/img/logo.gif" class="picture"/>
</div>
</body>
</html>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>CSS实验</title>
<style type="text/css">
<!--
.shadow {
background-color: #000000;
height: 200px;
width: 200px;
}
.picture {
position: relative;
left: -10px;
top: -10px;
height: 200px;
width: 200px;
border: 1px solid #000000;
}
-->
</style>
</head>
<body>
<div class="shadow">
<img src="http://www.baidu.com/img/logo.gif" class="picture"/>
</div>
</body>
</html>
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
这个?
<style type="text/css">
#test1,#test2 {
border:2px solid #000;
width:400px;
height:200px;
}
#test1 {
position: absolute;
left:30px;
top:20px;
z-index:2;
}
#test2 {
position: absolute;
left:3px;
top:3px;
z-index:3;
}
</style>
<div id="test1">
<div id="test2">
</div>
</div>
<style type="text/css">
#test1,#test2 {
border:2px solid #000;
width:400px;
height:200px;
}
#test1 {
position: absolute;
left:30px;
top:20px;
z-index:2;
}
#test2 {
position: absolute;
left:3px;
top:3px;
z-index:3;
}
</style>
<div id="test1">
<div id="test2">
</div>
</div>
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你从网上下载一个软件 改一下就行
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询