【发布时间】:2010-11-10 17:57:47
【问题描述】:
我在使用 Dreamweaver 时遇到了一些问题,当我在宽度为 1000 像素的表格中插入宽度为 1000 像素的新图像(例如)时,我收到以下单元格填充:
XXXXXXXXXXXXXXXXXXXXX
x
x -----------------
x |//here image
x |
x |
x
<body>
<table width="1000" align="center" bgcolor="#FFFFFF" class="main_border">
<tr>
<td><img src="./img/canyon.gif" width="1000" height="150" alt="header"></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><img src="img/footer.gif" alt="footer" width="1000" height="20" /></td>
</tr>
</table>
</body>
类似的问题:
http://www.justskins.com/forums/problem-with-white-space-31439.html
有人可以解释为什么吗?提前致谢/problem-with-white-space-31439.html
【问题讨论】:
-
你能解释一下你为什么使用桌子吗? =P
-
我没有看到任何单元格填充?
-
@MatTheCat:我不明白你的问题,我想在表格中创建我的网站,这个想法有问题吗?
-
@MatTheCat:非常感谢你的好文章,我会改变我的设计,无论如何,想知道这个问题,你能帮忙吗?
标签: html dreamweaver