设置下边框,不要设上边框的,设上边框会把上面的TR的下边框也带出来,并且还是黑色,所以两个混合了就比较黑了,也不知道浏览器为什么这么搞?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.text {font-size: 12px;width:100%;height:19px;
background-color:white;background-Image:url(image/textbg.gif)}
body { text-align: center;font-size:12px;background-image:url(image/graybg.gif);margin:0;}
td{border-width:0px}
-->
</style>
</head>
<body>
<TABLE width="869px" style="background-color:black" border="1">
<tr>
<TD rowspan="4" style="border-right-color:gray;border-right-width:1px">
<IMG SRC="image/logo.gif">
</TD>
<td colspan="3">
</td>
</tr>
<TR>
<TD colspan="3" align="center" style="border-bottom-color:gray;border-bottom-width:1px">
<IMG SRC="image/home.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/customer.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/service.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/tech.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/view.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/contact.gif">
</TD>
</TR>
<TR>
<TD width="200px" align="right" style="border-bottom-color:white;border-bottom-width:1px"><IMG SRC="image/bgimage.GIF"><IMG SRC="image/left.gif"></td>
<td width="469px" style="border-bottom-color:white;border-bottom-width:1px"><div class="text">asdfasdf</div></td>
<TD width="200px" style="border-bottom-color:white;border-bottom-width:1px"><IMG SRC="image/right.gif"><IMG SRC="image/bgimageright.gif"></TD>
</TR>
<TR>
<TD colspan="3" height="1px" >
</TD>
</TR>
<td colspan="4">
<IMG SRC="image/blank.gif">
</td>
</TABLE>
<body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.text {font-size: 12px;width:100%;height:19px;
background-color:white;background-Image:url(image/textbg.gif)}
body { text-align: center;font-size:12px;background-image:url(image/graybg.gif);margin:0;}
td{border-width:0px}
-->
</style>
</head>
<body>
<TABLE width="869px" style="background-color:black" border="1">
<tr>
<TD rowspan="4" style="border-right-color:gray;border-right-width:1px">
<IMG SRC="image/logo.gif">
</TD>
<td colspan="3">
</td>
</tr>
<TR>
<TD colspan="3" align="center" style="border-bottom-color:gray;border-bottom-width:1px">
<IMG SRC="image/home.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/customer.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/service.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/tech.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/view.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/contact.gif">
</TD>
</TR>
<TR>
<TD width="200px" align="right" style="border-bottom-color:white;border-bottom-width:1px"><IMG SRC="image/bgimage.GIF"><IMG SRC="image/left.gif"></td>
<td width="469px" style="border-bottom-color:white;border-bottom-width:1px"><div class="text">asdfasdf</div></td>
<TD width="200px" style="border-bottom-color:white;border-bottom-width:1px"><IMG SRC="image/right.gif"><IMG SRC="image/bgimageright.gif"></TD>
</TR>
<TR>
<TD colspan="3" height="1px" >
</TD>
</TR>
<td colspan="4">
<IMG SRC="image/blank.gif">
</td>
</TABLE>
<body>
</html>
解决方案 »
- extjs 三帖同一问题一共140,难道还是没人会这个问题,真的那么难吗(全天在线等)
- 一个让高手头疼的问题.. url添加 a href
- jquery autocomplete的返回数据问题
- javascript限制上传附近的大小
- 奇怪的问题
- 刷新引起的小疑问..
- 网页中如何更改相关属性?
- 请问一下高手, 这二句我是在SOHU的网页看到的能不能帮我解释一下呀是怎么样得到值的呀!能不能给一个例子呀!
- 请较,如何在打开frameset时,同时指定各框架页显示的页面,而不是框架原先默认的页面
- 谁能告诉我怎么知道用户按了ESC键
- text文本框数字相加
- *︻$▅▆▇◤ 捉拿高手!一个网页框架问题滚动问题
没啥奇怪的
说白点就是视觉错误
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.text {font-size: 12px;width:100%;height:19px;
background-color:white;background-Image:url(image/textbg.gif)}
body { text-align: center;font-size:12px;background-image:url(image/graybg.gif);margin:0;}
td{border-width:0px}
-->
</style>
</head>
<body>
<TABLE width="869px" style="background-color:black" border="1">
<tr>
<TD rowspan="4" style="border-right-color:gray;border-right-width:1px">
<IMG SRC="image/logo.gif">
</TD>
<td colspan="3">
</td>
</tr>
<TR>
<TD colspan="3" align="center" style="border-bottom-color:gray;border-bottom-width:1px">
<IMG SRC="image/home.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/customer.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/service.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/tech.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/view.gif">
<IMG SRC="image/sperate.gif">
<IMG SRC="image/contact.gif">
</TD>
</TR>
<TR>
<TD width="200px" align="right"><IMG SRC="image/bgimage.GIF"><IMG SRC="image/left.gif"></td>
<td width="469px"><div class="text">asdfasdf</div></td>
<TD width="200px"><IMG SRC="image/right.gif"><IMG SRC="image/bgimageright.gif"></TD>
</TR>
<TR>
<TD colspan="3" height="1px" style="border:0px;border-top:1px solid white;">
</TD>
</TR>
<td colspan="4">
<IMG SRC="image/blank.gif">
</td>
</TABLE>
<body>
</html>