购物车本地存储
css:
<style type="text/css">
body,
dl,
dt,
dd {
margin: 0px;
padding: 0px;
}
.top-left {
float: left;
}
.top-right {
float: right;
line-height: 54px;
margin-right: 30px;
}
.pic-list {
width: 1200px;
margin: 0px auto;
height: 700px;
}
.pl-left {
float: left;
width: 240px;
}
.pl-right {
float: right;
width: 960px;
}
.pl-right dl {
float: left;
width: 235px;
text-align: center;
margin-left: 5px;
margin-top: 2%;
line-height: 26px;
}
.pl-right dd {
font-size: 13px;
color: #666;
}
.pl-right dd a {
text-decoration: none;
padding: 5px 20px;
background-color: #DF2634;
color: white;
}
.pl-right dd span {
color: red;
}
</style>
html:</