基本,但煩人。對於我的生活,我無法弄清楚如何去除頁面頂部和側面的白色邊框......任何想法?在此先感謝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