关于用response.write画表格的问题,在线等待!
大家看一下下面的代码
response.Write("<table width='700' border='0' cellpadding='0' cellspacing='1' bgcolor='#339900'>")
response.write("<tr><td wedith='100%' height='40' bgcolor='#E0F5C2' align='center'>成 员 列 表<td></tr>")
response.Write("<tr><td wedith='100%' height='20' bgcolor='#E0F5C2' align='center'><font size='2'>学 号</font></td><td wedith='10%' height='20' bgcolor='#E0F5C2' align='center'><font size='2'>姓 名</font></td><td wedith='10%' height='20' bgcolor='#E0F5C2' align='center'><font size='2'>性 别</font></td><td wedith='10%' height='20' bgcolor='#E0F5C2' align='center'><font size='2'>家 庭 地 址</font></td><td wedith='10%' height='20' bgcolor='#E0F5C2' align='center'><font size='2'>联系电话</font></td><td wedith='10%' height='20' bgcolor='#E0F5C2' align='center'><font size='2'>简 介</font></td></tr>")
response.write("</table>")
结果显示时:
成员列表与学号对齐了,而右边空了很多
我想让成员列表的单元格长度和下面整行的长度相同,而不是和学号一个单元格的长度相同,谁能解决这个问题,我马上给分!