答案 0 :(得分:5)
您可以使用:after
隐藏它,我知道,但在最新的浏览器中工作:
#column1:after{
display:block;
content:'';
background-color:#f6f6f6;
height:100%;
width:5px;
position:absolute;
top:0;
right:-5px;
}
答案 1 :(得分:1)
更改/添加css:
#column1a {
margin-right: 200px;
border-bottom: 5px solid #E3E3E3;
background-color:#E3E3E3;
padding: 5px;
}
#column1a span { background-color: white; display:block;}
将html改为:
<div id="column1a"><span>Ut enim
这只是一个粗略的指导,所以我会留给你整理。
答案 2 :(得分:1)
答案 3 :(得分:0)
CSS
#wrapper {
position: relative;
}
#left-section {
position: absolute;
left: 0;
width: 200px;
height: 100px;
border: 3px solid black;
border-right: none;
float: left;
background-color: white;
z-index: 5;
}
#right-section {
position: absolute;
left: 200px;
width: 100px;
height: 300px;
border: 3px solid black;
float: left;
}
标记
<div id="wrapper">
<div id="left-section"></div>
<div id="right-section"></div>
</div>