网页上有很多标签,看上去像贴在屏幕上一样,我给它叫做贴条效果,核心内容是通过设置div的背景色和border下边框的颜色为相近的值。如
.topBar{
height:29px;
line-height:27px;
border-bottom:1px solid rgb(229,229,229);
background:none repeat scroll 0% 0% rgb(252,252,252);
}