基本,但烦人。对于我的生活,我无法弄清楚如何去除页面顶部和侧面的白色边框......任何想法?在此先感谢HTML边框删除
<head>
<style type="text/css">
.rightBar {
background-color: #596a87;
overflow: auto
}
.leftBar {
background-color: #54ff37;
position: relative;
}
</style>
有什么我需要用CSS做?
</head>
或者body/divs的内容?
<body>
<div id="main" style="position:static;">
<div class="leftBar" style="height:100%;width:50%;position:fixed"></div>
<div class="rightBar" style="padding:6px;height:100%;width:49.5%;position:relative;left:50%;" id="rightContent">
1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
10<br />
</div>
</div>
</body>
</html>
天才,感谢(: – jacktheripper
会时我也能接受 – jacktheripper