关于DREAMWEAVER 表格的问题 ?

zhaoyang0405 2003-10-15 06:03:41
请问这段代码是怎么生成的,是自己写的还是 DREAMWEAVER 自己带的,怎样建的这个表格 中间加以黑线!!!!!

<table width="102%" border="00" cellspacing="0" cellpadding="0" bgcolor="E4E1E4">
<tr bgcolor="E4E1E4">
<td height="25" align="left"> <font size="2"> Bricks/ Blocks</font></td>
</tr>
<tr bgcolor="E4E1E4">
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="25" align="left"><font size="2"> Concrete and Accessories</font>
</td>
</tr>
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="25" align="left"><font size="2"> Electrical/ Lighting </font></td>
</tr>
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="25" align="left"><font size="2"> Hardware/Fasteners/ Tools</font></td>
</tr>
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="25" align="left"> <font size="2">Kitchens & Vanity Cupboards</font></td>
</tr>
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="25" align="left"><font size="2"> Paints/ Liquids/ Adhesives </font></td>
</tr>
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="25" align="left"><font size="2"> Plasterboard/ Fibre Cement</font>
</td>
</tr>
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="25" align="left"><font size="2"> Roofing/ Guttering</font></td>
</tr>
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="25"><font size="2"> Sand/ Cement/ Landscaping</font></td>
</tr>
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="25"> <font size="2">Structural Steel</font></td>
</tr>
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="25"> <font size="2">Waterproofing </font></td>
</tr>
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="25"> <font size="2">PC Items/ Fixtures Fittings</font> </td>
</tr>
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="25"> <font size="2">Frames and Trusses</font></td>
</tr>
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="25"> <font size="2">Entertainment & Security</font></td>
</tr>
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="25"> <font size="2">Other</font></td>
</tr>
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
<tr>
<td height="189" align="left" valign="top">  </td>
</tr>
</table>
...全文
58 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
tsstudio 2003-10-16
  • 打赏
  • 举报
回复
DW自带的颜色似乎比较有限啊,这里我猜测是先用DW做,然后设置,然后手工修改
arstcmyy 2003-10-16
  • 打赏
  • 举报
回复
定义表格样式~~~~自己写代码入去吧
yzxlyd 2003-10-16
  • 打赏
  • 举报
回复
好像是用DW做的吧。
黑线的代码就是这一句<td height="1" bgcolor="6B6163">
chouchy 2003-10-16
  • 打赏
  • 举报
回复
应该是用DW做了以后再自己手动修改的。
显然自己在手动修改的时候显得不是很规范:
<table width="102%" border="00" cellspacing="0" cellpadding="0" bgcolor="E4E1E4">
其中的102%,00,以及颜色值前没有“#”;
同时代码有很多冗余,既然在定义了table的bgcolor值,也就没有必要再在写文字的那行定义该行的背景色了;
中间加以黑线其实非常简单,代码是:
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>
一个空行,高度为1,背景色为#6B6163(深灰黑),
注意<td></td>之间没有任何东西,在DW中需要将 去掉。
zwp0526 2003-10-15
  • 打赏
  • 举报
回复
自己写吧
xuzhe1111 2003-10-15
  • 打赏
  • 举报
回复
黑线是指border=1么?
flybird66 2003-10-15
  • 打赏
  • 举报
回复
黑线是表格的底啊
bencalie 2003-10-15
  • 打赏
  • 举报
回复
<tr>
<td height="1" bgcolor="6B6163"></td>
</tr>

可以自己写,也可以再DW里面改
flybird66 2003-10-15
  • 打赏
  • 举报
回复
这个应该是自己写的,DW生成的话,喜欢加div之类的东西。

1,451

社区成员

发帖
与我相关
我的任务
社区描述
多媒体/设计/Flash/Silverlight 开发 图象工具使用
社区管理员
  • 图象工具使用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧