主题:  困扰我很久的两个问题(相信对你不成问题)

蹲在墙角等红杏

职务:普通成员
等级:1
金币:0.0
发贴:4
#12004/5/19 18:59:50
NO1:为什么我用PS直接存WEB格式 整个表格总不能占整页 下面总有点空白 我看看代码 实在找不到什么问题啊
NO2:为什么我针对表格操作时 不管删除 还是合并单元格 总是一操作 整个表格就会变形 难道是我表格套的不对 我发现就是不用PS 直接做表格也一样 能不能只对某个单元格进行操作 ,整个表格不受影响 不会变形~

请高手们来拉俺一把 俺将不胜感激哦~
3Q先



蹲在墙角等红杏

职务:普通成员
等级:1
金币:0.0
发贴:4
#22004/5/19 19:00:17
贴上一段代码
<HTML>
<HEAD>
<TITLE>index</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
</HEAD>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<TABLE WIDTH=983 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD>
<IMG SRC="images/index_01.jpg" WIDTH=21 HEIGHT=26></TD>
<TD>
<IMG SRC="images/index_02.jpg" WIDTH=31 HEIGHT=26></TD>
<TD>
<IMG SRC="images/index_03.jpg" WIDTH=25 HEIGHT=26></TD>
<TD>
<IMG SRC="images/index_04.jpg" WIDTH=36 HEIGHT=26></TD>
<TD>
<IMG SRC="images/index_05.jpg" WIDTH=14 HEIGHT=26></TD>
<TD>
<IMG SRC="images/index_06.jpg" WIDTH=32 HEIGHT=26></TD>
<TD COLSPAN=6>
<IMG SRC="images/index_07.jpg" WIDTH=108 HEIGHT=26></TD>
<TD COLSPAN=13 ROWSPAN=2>
<IMG SRC="images/index_08.jpg" WIDTH=511 HEIGHT=161></TD>
<TD ROWSPAN=32>
<IMG SRC="images/index_09.jpg" WIDTH=2 HEIGHT=868></TD>
<TD ROWSPAN=32>
<IMG SRC="images/index_10.jpg" WIDTH=203 HEIGHT=868></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=26></TD>
</TR>
<TR>
<TD COLSPAN=12>
<IMG SRC="images/index_11.jpg" WIDTH=267 HEIGHT=135></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=135></TD>
</TR>
<TR>
<TD COLSPAN=8 ROWSPAN=3>
<IMG SRC="images/index_12.jpg" WIDTH=169 HEIGHT=36></TD>
<TD COLSPAN=3>
<IMG SRC="images/index_13.jpg" WIDTH=60 HEIGHT=33></TD>
<TD COLSPAN=3>
<IMG SRC="images/index_14.jpg" WIDTH=97 HEIGHT=33></TD>
<TD>
<IMG SRC="images/index_15.jpg" WIDTH=95 HEIGHT=33></TD>
<TD>
<IMG SRC="images/index_16.jpg" WIDTH=95 HEIGHT=33></TD>
<TD COLSPAN=6>
<IMG SRC="images/index_17.jpg" WIDTH=95 HEIGHT=33></TD>
<TD ROWSPAN=2>
<IMG SRC="images/index_18.jpg" WIDTH=86 HEIGHT=35></TD>
<TD COLSPAN=2 ROWSPAN=2>
<IMG SRC="images/index_19.jpg" WIDTH=81 HEIGHT=35></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=33></TD>
</TR>
<TR>
<TD COLSPAN=11 ROWSPAN=4>
<IMG SRC="images/index_20.jpg" WIDTH=405 HEIGHT=35></TD>
<TD COLSPAN=3>
<IMG SRC="images/index_21.jpg" WIDTH=37 HEIGHT=2></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=2></TD>
</TR>
<TR>
<TD COLSPAN=2 ROWSPAN=2>
<IMG SRC="images/index_22.jpg" WIDTH=3 HEIGHT=24></TD>
<TD COLSPAN=4 ROWSPAN=2>
<IMG SRC="images/index_23.jpg" WIDTH=201 HEIGHT=24></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=1></TD>
</TR>
<TR>
<TD COLSPAN=8 ROWSPAN=5>
<IMG SRC="images/index_24.jpg" WIDTH=169 HEIGHT=104></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=23></TD>
</TR>
<TR>
<TD ROWSPAN=14>
<IMG SRC="images/index_25.jpg" WIDTH=1 HEIGHT=338></TD>
<TD COLSPAN=5 ROWSPAN=2>
<IMG SRC="images/index_26.jpg" WIDTH=203 HEIGHT=39></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=9></TD>
</TR>
<TR>
<TD COLSPAN=11 ROWSPAN=6>
<IMG SRC="images/index_27.jpg" WIDTH=405 HEIGHT=151></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=30></TD>
</TR>
<TR>
<TD COLSPAN=4 ROWSPAN=4>
<IMG SRC="images/index_28.jpg" WIDTH=202 HEIGHT=119></TD>
<TD>
<IMG SRC="images/index_29.jpg" WIDTH=1 HEIGHT=40></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=40></TD>
</TR>
<TR>
<TD ROWSPAN=7>
<IMG SRC="images/index_30.jpg" WIDTH=1 HEIGHT=121></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=2></TD>
</TR>
<TR>
<TD COLSPAN=8>
<IMG SRC="images/index_31.jpg" WIDTH=169 HEIGHT=27></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=27></TD>
</TR>
<TR>
<TD COLSPAN=8 ROWSPAN=3>
<IMG SRC="images/index_32.jpg" WIDTH=169 HEIGHT=73></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=50></TD>
</TR>
<TR>
<TD COLSPAN=4 ROWSPAN=4>
<IMG SRC="images/index_33.jpg" WIDTH=202 HEIGHT=42></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=2></TD>
</TR>
<TR>
<TD COLSPAN=11 ROWSPAN=2>
<IMG SRC="images/index_34.jpg" WIDTH=405 HEIGHT=29></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=21></TD>
</TR>
<TR>
<TD COLSPAN=8 ROWSPAN=3>
<IMG SRC="images/index_35.jpg" WIDTH=169 HEIGHT=36></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=8></TD>
</TR>
<TR>
<TD COLSPAN=11 ROWSPAN=3>
<IMG SRC="images/index_36.jpg" WIDTH=405 HEIGHT=143></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=11></TD>
</TR>
<TR>
<TD ROWSPAN=4>
<IMG SRC="images/index_37.jpg" WIDTH=2 HEIGHT=138></TD>
<TD COLSPAN=4 ROWSPAN=3>
<IMG SRC="images/index_38.jpg" WIDTH=201 HEIGHT=134></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=17></TD>
</TR>
<TR>
<TD COLSPAN=7 ROWSPAN=5>
<IMG SRC="images/index_39.jpg" WIDTH=168 HEIGHT=147></TD>
<TD ROWSPAN=14>
<IMG SRC="images/index_40.jpg" WIDTH=1 HEIGHT=409></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=115></TD>
</TR>
<TR>
<TD COLSPAN=11 ROWSPAN=3>
<IMG SRC="images/index_41.jpg" WIDTH=405 HEIGHT=15></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=2></TD>
</TR>
<TR>
<TD COLSPAN=4>
<IMG SRC="images/index_42.jpg" WIDTH=201 HEIGHT=4></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=4></TD>
</TR>
<TR>
<TD COLSPAN=6 ROWSPAN=3>
<IMG SRC="images/index_43.jpg" WIDTH=204 HEIGHT=29></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=9></TD>
</TR>
<TR>
<TD COLSPAN=2 ROWSPAN=5>
<IMG SRC="images/index_44.jpg" WIDTH=8 HEIGHT=145></TD>
<TD COLSPAN=3 ROWSPAN=4>
<IMG SRC="images/index_45.jpg" WIDTH=117 HEIGHT=128></TD>
<TD COLSPAN=5 ROWSPAN=4>
<IMG SRC="images/index_46.jpg" WIDTH=272 HEIGHT=128></TD>
<TD ROWSPAN=10>
<IMG SRC="images/index_47.jpg" WIDTH=8 HEIGHT=279></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=17></TD>
</TR>
<TR>
<TD COLSPAN=7 ROWSPAN=2>
<IMG SRC="images/index_48.jpg" WIDTH=168 HEIGHT=40></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=3></TD>
</TR>
<TR>
<TD ROWSPAN=8>
<IMG SRC="images/index_49.jpg" WIDTH=1 HEIGHT=259></TD>
<TD COLSPAN=4 ROWSPAN=4>
<IMG SRC="images/index_50.jpg" WIDTH=202 HEIGHT=155></TD>
<TD ROWSPAN=8>
<IMG SRC="images/index_51.jpg" WIDTH=1 HEIGHT=259></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=37></TD>
</TR>
<TR>
<TD COLSPAN=7 ROWSPAN=5>
<IMG SRC="images/index_52.jpg" WIDTH=168 HEIGHT=183></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=71></TD>
</TR>
<TR>
<TD COLSPAN=8>
<IMG SRC="images/index_53.jpg" WIDTH=389 HEIGHT=17></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=17></TD>
</TR>
<TR>
<TD ROWSPAN=5>
<IMG SRC="images/index_54.jpg" WIDTH=7 HEIGHT=134></TD>
<TD COLSPAN=4 ROWSPAN=4>
<IMG SRC="images/index_55.jpg" WIDTH=118 HEIGHT=120></TD>
<TD COLSPAN=4 ROWSPAN=4>
<IMG SRC="images/index_56.jpg" WIDTH=271 HEIGHT=120></TD>
<TD ROWSPAN=5>
<IMG SRC="images/index_57.jpg" WIDTH=1 HEIGHT=134></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=30></TD>
</TR>
<TR>
<TD COLSPAN=4>
<IMG SRC="images/index_58.jpg" WIDTH=202 HEIGHT=6></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=6></TD>
</TR>
<TR>
<TD COLSPAN=4 ROWSPAN=3>
<IMG SRC="images/index_59.jpg" WIDTH=202 HEIGHT=98></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=59></TD>
</TR>
<TR>
<TD COLSPAN=7 ROWSPAN=2>
<IMG SRC="images/index_60.jpg" WIDTH=168 HEIGHT=39></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=25></TD>
</TR>
<TR>
<TD COLSPAN=8>
<IMG SRC="images/index_61.jpg" WIDTH=389 HEIGHT=14></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=14></TD>
</TR>
<TR>
<TD COLSPAN=25>
<IMG SRC="images/index_62.jpg" WIDTH=778 HEIGHT=22></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=22></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=21 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=31 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=25 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=36 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=14 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=32 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=9 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=7 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=52 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=38 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=27 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=32 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=95 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=95 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=49 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=8 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=2 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=34 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=86 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=80 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=2 HEIGHT=1></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=203 HEIGHT=1></TD>
<TD></TD>
</TR>
</TABLE>
</BODY>
</HTML>



蹲在墙角等红杏

职务:普通成员
等级:1
金币:0.0
发贴:4
#32004/5/19 19:00:42
上面两个问题 这段都存在
我直接PS出来的



lengyan2004

职务:普通成员
等级:1
金币:0.0
发贴:146
#42004/5/20 13:46:45
都是这样的
你再设置高度啊。



冰红茶

职务:普通成员
等级:1
金币:0.0
发贴:127
#52004/5/21 20:01:01
PS生成HTML后
DW中点击图片,记下图片高宽,点状态栏上...<td><img> 前的<td>也就是该图片的表格
安图片的大小定住表格,然后删除图片或设为背景
练多些就好了