<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<style>
* {
margin:10px;
}
#bigImg{
height:700px;
background:url(../img/bigLogo.jpg) no-repeat -240px 0px;
position:relative;
z-index:-1;
}
#Design2 {
background: url(../img/text.png) no-repeat;
width: 392px;
height: 550px;
top:9%;
left:15%;
position:absolute;
}
#Design3{
background:url(../img/text2.png) no-repeat;
width:102px;
height:204px;
top:30%;
left:50%;
position:absolute;
}
#Design4{
background:url(../img/line.jpg) no-repeat;
width:1px;
height:180px;
top:32%;
left:40%;
position:absolute;
}
</style>
</head>
<body>
<div id="bigImg">
<div id="Design2">
<span> 1</span>
<span>2</span>
</div>
<div id="Design4"></div>
</div>
</body>
</html>
line
text

text2
biglogo
span中的内容为啥不能显示
因为dom的层级结构导致元素很容易被覆盖,你可以把背景图片去掉看看那个内容会不会显示