html左边动右边不动,网页布局//上左不动,其他滑动
生活随笔
收集整理的這篇文章主要介紹了
html左边动右边不动,网页布局//上左不动,其他滑动
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
Document
/*上左不動(dòng),其他的可以滑動(dòng)*/
*{
margin: 0px;
padding:0px;
}
#one{
background:#1DC9D8;
z-index:1;
width:100%;
height: 100px;
position: fixed;
margin-top: -100px;
}
#content{
margin-top: 100px;
position:relative;
width:100%;
height:2000px;
}
#right{
background:yellow;
width:20%;
height:400px;
position: fixed;
z-index: 1;
}
#left{
background:pink;
width:80%;
float:right;
height:1800px;
}
#foot{
background:#37E519;
width:100%;
height:150px;
position:relative;
}
首頁列表內(nèi)容底部原文:http://www.cnblogs.com/zouyun/p/7127258.html
總結(jié)
以上是生活随笔為你收集整理的html左边动右边不动,网页布局//上左不动,其他滑动的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 微型计算机接口位于什么之间,io接口位于
- 下一篇: 计算机专业技术人员工作总结,计算机教师专