<!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;
height: 190px;
width: 310px;
margin: auto;
border: 1px solid #ccc;
padding: 10px;
}
.top{
position: absolute;
top: 0;
left: 0;
}
.botton{
position: absolute;
bottom: 0;
right: 0;
}
</style>
</head>
<body>
<div class="box">
<img class="top" src="top_tu.gif" alt="">
<img src="adv.jpg" alt="">
<img class="botton" src="br.gif" 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>
.box{
width: 1000px;
margin: 0 auto;
}
.ad-1{
position: fixed;
left: 0;
top: 88px;
}
.ad-r{
position: fixed;
right: 0;
top: 88px;
}
</style>
</head>
<body>
<img class="ad-1" src="ad-l.png" alt="">
<img class="ad-r" src="ad-r.png" alt="">
<div class="box">
<img class="box" src="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;
}
.taobao{
width: 520px;
height: 260px;
position: relative;
margin: auto;
}
.arrow-1, .arrow-r{
position: absolute;
height: 30px;
line-height: 30px;
width: 20px;
top: 50%;
margin-top: -15px;
background-color: black;
color: #fff;
}
.arrow-1{
border-radius: 0 15px 0 0 15px;
color: #fff;
}
.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: 15px;
background-color: rgb(90, 78, 78);
border-radius: 6px;
}
.circle li{
float: left;
height: 9px;
width: 0px;
background-color: #fff;
margin: 3px;
border-radius: 50px;
}
.circle .current{
background-color: chocolate;
}
</style>
</head>
<body>
<div class="taobao">
<a href="#" class="arrow-1"><</a>
<a href="#" class="arrow-r">></a>
<img src="taobao.jpg" alt="">
<ul class="circle"></ul>
<div class="circle"></div>
</div>
</body>
</html>