代码如下(示例):
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>侧边栏下拉</title>
<style type="text/css">
header{
width: 1220px;
height: 65px;
margin: 0px auto;
border: #000000 1px solid;
}
footer{
width: 1220px;
height: 65px;
margin: 0px auto;
border: #000000 1px solid;
}
ul,ol{
list-style-type: none;
}
.p1{
width: 1220px;
height: 600px;
}
.p1 #main1{
width: 13%;
height: 590px;
margin: 5px auto;
border: red solid 1px;
position: absolute;
left: