HTML中怎么使两个独立的表格边框重合

表格边框设置为0 ,<table width=”980″ border=”0″ align=”center” cellpadding=”0″ cellspacing=”0″ >

html里怎么把四条线(上,下,左,右)的四张图片合成一个完整的框

<style>

.top {background:url(/top.gif) no-repeat;width:100px;height:1px;overflow:hidden}

/*中间的线是关键,要整合在一张图片上*/

.center {background:url(/center.gif) repeat-y;width:100px;}

.bottom {background:url(/bottom.gif) no-repeat;width:100px;height:1px;overflow:hidden}

</style>

<div class=”top”></div><!– 上面的1条线 –>

<div class=”center”><!– 左右2条线 –>

内容。。。。。

</div>

<div class=”bottom”></div><!– 下面1条线 –>

在html中怎样表示边框线合一

如果是div的边框,可以用boder-bottom等这些属性,只规定一个就OK了,如果是table的边框,那就用一个border-collapse这个属性合并一下就OK了