网页定位导航效果扩展案例
* {
margin: 0;
padding: 0;
}
body {
font-size: 12px;
line-height: 1.7;
background-color: #888;
}
li {
list-style: none;
}
#content {
width: 1000px;
margin: 0 auto;
padding-top: 0;
padding-bottom: 300px;
}
/*请补充此处代码,让右侧广告正确显示*/
.item{
margin: 0 0 100px 125px;
border-top:100px solid #888; padding-left: 170px;}
#content #item1 {
background: url("http://img1.sycdn.imooc.com/536c9ea800013ae610000540.jpg") no-repeat center top;
}
#content #item2 {
background: url("http://img1.sycdn.imooc.com/536c9ecd0001606d10000540.jpg") no-repeat center top;
}
#content #item3 {
background: url("http://img1.sycdn