<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.box{
position: relative;
width: 310px;
height: 190px;
margin: auto;
border: 1px solid #ccc;
padding: 10px;
}
.top{
position: absolute;
top: 0;
left: 0;
}
.bottom{
position: absolute;
bottom: 0;
right: 0;
}
</style>
</head>
<body>
<div class="box">
<img class="top" src="images/top_tu.gif" alt="">
<img src="images/adv.jpg" alt="">
<img class="bottom" src="images/br.gif" alt="">
</div>
</body>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.box{
width: 1002px;
margin: 0 auto;
}
.ad-1{
position: fixed;
left: 0;
top: 85px;
}
.ad-r{
position: fixed;
right: 0;
top: 85px;
}
</style>
</head>
<body>
<img class="ad-1" src="images/ad-l.png" alt="">
<img class="ad-r" src="images/ad-r.png" alt="">
<div class="box">
<img src="images/box.png" alt="">
</div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
*{
padding: 0;
margin: 0;
}
a{
text-decoration: none;
}
li{
list-style: none;
}
.taobao{
position: relative;
width: 520px;
height: 280px;
margin: auto;
}
.arrow-1, .arrow-r{
position: absolute;
top: 50%;
margin-top: -15px;
width: 20px;
height: 30px;
line-height: 30px;
background-color: rgba(0,0,0,0.2);
color: #fff;
}
.arrow-1{
border-radius: 0 15px 15px 0;
}
.arrow-r{
right: 0;
border-radius: 15px 0 0 15px;
text-align: right;
}
.circle{
position: absolute;
left: 50%;
margin-left: -35px;
bottom: 15px;
width: 70px;
height: 13px;
background-color: rgba(255,255,255,0.2);
border-radius: 6px;
}
.circle li{
float: left;
height: 8px;
width: 8px;
background-color: #fff;
margin: 3px;
border-radius: 50%;
}
.circle .current{
background-color: #ff5000;
}
</style>
</head>
<body>
<div class="taobao">
<a href="#" class="arrow-1"><</a>
<a href="#" class="arrow-r">></a>
<img src="images/taobao.jpg" alt="">
<ul class="circle">
<li></li>
<li></li>
<li class="current"></li>
<li></li>
<li></li>
</ul>
</div>
</body>
</html>