<head runat="server">
<title>无标题页</title>
<style type="text/css">
#all{
height:800px;
width:110px;}
#one{
height:300px;
width:1100px;
}
#two{
height:355px;
width:1100px;}
#three{
height:144px;
width:1100px;
}
#a{
height:355px;
width:498px;
float:left;}
#b{
height:355px;
width:600px;
background-image:url(../1238224696_ddvip_1248.jpg);
background-repeat: repeat;
float:left;}
#c{
height:100px;
width:600px;
background-color:#009900;
}
#d{
height:235px;
width:600px;
}
#e{
height:252px;
width:180px;
float:left;
background-repeat: repeat;}
#f{
height:252px;
width:418px;
float:right;
background-repeat: repeat;}
#g{
height:50px;
width:418px;
float:left;
background-color:#663399;}
#h{
height:203px;
width:418px;
float:right;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div id="all">
<div id="one"></div>
<div id="two">
<div id="a"></div>
<div id="b">
<div id="c"></div>
<div id="d"></div>
</div>
</div>
<div id="three"></div>
</div>
</form>
</body>
2 个解决方案
#1
background-image:url(../1238224696_ddvip_1248.jpg);
确认你的相对路径写对了?
确认你的相对路径写对了?
#2
谢谢了,真的是路径写错了!谢谢你了
#1
background-image:url(../1238224696_ddvip_1248.jpg);
确认你的相对路径写对了?
确认你的相对路径写对了?
#2
谢谢了,真的是路径写错了!谢谢你了