主题:  用dw2004 在布局中划了几大块,然后用不同的颜色填充,来

meetmay

职务:普通成员
等级:1
金币:0.0
发贴:22
#12004/6/11 14:39:11
用dw2004 在布局中划了几大块,然后用不同的颜色填充,来划分栏目,但是总是最后一个色块有白线出现,不管我用同样大小的图片作背景,还是把设置表格底色都会有一条白色的缝隙,不知道为什么?


如下图

图片如下:



moonly

职务:普通成员
等级:4
金币:2.0
发贴:1614
#22004/6/11 21:37:49
把代码发上来



moonly

职务:普通成员
等级:4
金币:2.0
发贴:1614
#32004/6/11 21:39:51
初步怀疑是个td在捣蛋



meetmay

职务:普通成员
等级:1
金币:0.0
发贴:22
#42004/6/12 10:02:35
忘了说 这个文件是用模版生成的 会不回有关系? 代码如下



moonly

职务:普通成员
等级:4
金币:2.0
发贴:1614
#52004/6/12 17:27:19
代码呢?



meetmay

职务:普通成员
等级:1
金币:0.0
发贴:22
#62004/6/17 16:52:25
不好意思 上次发错了 代码如下
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/index1.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!-- InstanceBeginEditable name="doctitle" -->
<title> </title>
<!-- InstanceEndEditable --><script language="javascript" type="text/javascript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape"&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style type="text/css">
<!--
body {
    margin-top: 0px;
    background-image: url(image/index/gbd.jpg);
}
.style1 {color: #FFFFFF}
-->
</style>
<link href="&#26032;&#24314;&#25991;&#20214;&#22841;.css" rel="stylesheet" type="text/css">
<!-- InstanceBeginEditable name="head" -->
<link href="font.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {color: #666600}
-->
</style>
<style type="text/css">
<!--
.style3 {color: #996600}
-->
</style>
<style type="text/css">
<!--
-->
</style>
<!-- InstanceEndEditable -->
<link href="font.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<!--DWLayoutTable-->
<tr>
<td width="700" height="100" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="700" height="100"><!--DWLayoutEmptyCell-->&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="700" height="25"><!--DWLayoutEmptyCell-->&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td height="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="700" height="3"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="556" valign="top"><!-- InstanceBeginEditable name="1" -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td height="160" colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
</tr>
<tr>
<td width="350" height="200" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="image/jion/1.gif">
<!--DWLayoutTable-->
<tr>
<td width="52" height="32"></td>
<td width="108">&nbsp;</td>
<td width="40" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="40" height="32">&nbsp;</td>
</tr>
</table></td>
<td width="113">&nbsp;</td>
<td width="37"></td>
</tr>
<tr>
<td height="53">&nbsp;</td>
<td colspan="3" rowspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="261" height="134" class="font"><!--DWLayoutEmptyCell-->&nbsp;</td>
</tr>
</table></td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="51" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="52" height="51">&nbsp;</td>
</tr>
</table></td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="30">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="34">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table></td>
<td width="350" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="image/jion/2.gif">
<!--DWLayoutTable-->
<tr>
<td width="52" height="32">&nbsp;</td>
<td width="66">&nbsp;</td>
<td width="82" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="82" height="32">&nbsp;</td>
</tr>
</table></td>
<td width="113">&nbsp;</td>
<td width="37">&nbsp;</td>
</tr>
<tr>
<td height="29">&nbsp;</td>
<td colspan="3" rowspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="261" height="134" class="font"><!--DWLayoutEmptyCell-->&nbsp;</td>
</tr>
</table></td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="65" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="52" height="65">&nbsp;</td>
</tr>
</table></td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="40">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="34">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td height="200" colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="700" height="200">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td height="200" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="image/jion/3.gif">
<!--DWLayoutTable-->
<tr>
<td width="350" height="200"></td>
</tr>
</table></td>
<td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="image/jion/4.gif">
<!--DWLayoutTable-->
<tr>
<td width="52" height="32"></td>
<td width="261" rowspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="261" height="200"><!--DWLayoutEmptyCell-->&nbsp;</td>
</tr>
</table></td>
<td width="37">&nbsp;</td>
</tr>
<tr>
<td height="85" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="52" height="85">&nbsp;</td>
</tr>
</table></td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="83">&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td height="305" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="image/jion/5.gif">
<!--DWLayoutTable-->
<tr>
<td width="52" height="65">&nbsp;</td>
<td width="261" rowspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="187" height="25">&nbsp;</td>
<td width="82">&nbsp;</td>
</tr>
<tr>
<td height="34" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="187" height="34" class="style1 font"><!--DWLayoutEmptyCell-->&nbsp;</td>
</tr>
</table></td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="246" colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
</tr>
</table></td>
<td width="37">&nbsp;</td>
</tr>
<tr>
<td height="112" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="52" height="112">&nbsp;</td>
</tr>
</table></td>
<td></td>
</tr>
<tr>
<td height="89"><p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p> </td>
<td>&nbsp;</td>
</tr>
</table></td>
<td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="image/jion/6.gif">
<tr>
<td width="351" height="305">
             </td>
</tr>
</table></tr>
</table>
<!-- InstanceEndEditable --></td>
</tr>
<tr>
<td height="78" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="700" height="48" background="image/index/gbd.jpg"><div align="center"><span class="unnamed1"><span class="style1"><br>
</span></span><span class="unnamed1"><br>
</span></div></td>
</tr>
</table></td>
</tr>
</table>
</body>
<!-- InstanceEnd --></html>



听雪堂主

职务:普通成员
等级:1
金币:1.0
发贴:286
#72004/6/18 19:05:19
好象是<!-- InstanceEndEditable -->在做怪吧?



meetmay

职务:普通成员
等级:1
金币:0.0
发贴:22
#82004/6/19 9:38:31
可是这个<!-- InstanceEndEditable -->应该是摸板生成的吧 删不掉呀



meetmay

职务:普通成员
等级:1
金币:0.0
发贴:22
#92004/6/22 9:13:47
怎么还没人回答呀? 是我描述的不够清楚么 请版主指点一下 谢谢了



jjitt

职务:普通成员
等级:1
金币:0.0
发贴:19
#102004/6/25 18:48:59
你不用模板,从做啊
每画一个布局单元格都新建立一个布局表格啊`

我碰到过你那样的问题,用次方法可以解决~



meetmay

职务:普通成员
等级:1
金币:0.0
发贴:22
#112004/6/26 11:39:53

也是个办法,谢谢了


不过这个是什么原因造成的呢?



xingjisanren

职务:普通成员
等级:1
金币:0.0
发贴:7
#122004/6/26 19:58:33
可能重做也不行啊!
我也老遇到这样的问题