有没有办法缩小 FORM 的间距???
请各位看一下我的代码:(WIN98+DREAMWEAVER4中文版)
我要实现的目标是:
点击CHECKBOX,选中显示FORM的内容,没选中隐藏FORM的内容,这个现在是做到了
问题是FORM和CHECKBOX之间的间距太大了,有没有办法缩小?
希望各位帮我调试一下,提供解决的办法!
谢谢了!
<html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="670" border="0">
<tr>
<td>
<input type="checkbox" name="c1" onclick="c1.checked?f1.style.display='':f1.style.display='none'">
飞过海 </td>
</tr>
</table>
<form name="f1" style="display:none" >
<table width="662" border="0">
<tr>
<td height="23">事实
<input type="text" name="textfield">
</td>
</tr>
<tr>
<td height="16">经济
<input type="text" name="textfield2">
</td>
</tr>
<tr>
<td>随时
<select name="select">
</select>
</td>
</tr>
</table>
</form>
<table width="665" border="0">
<tr>
<td>
<input type="checkbox" name="c2" onclick="c2.checked?f2.style.display='':f2.style.display='none'">
广泛大概 </td>
</tr>
</table>
<table width="665" border="0">
<tr>
<td>
<form name="f2" method="post" style="display:none">
<table width="659" border="0">
<tr>
<td height="26">
<input type="radio" name="radiobutton" value="radiobutton">
<input type="text" name="textfield3">
</td>
</tr>
<tr>
<td height="19"> 力量
<input type="text" name="textfield4">
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<p> </p>
</body>
</html>