![]() |
购物专题 | 基金专题 | 性专题 | 饮食专题 | 教育专题 | 生活大参考 | 园林资讯 | 园艺库 | 健康专题 | |
| 论文专题 | 家庭养花 | 园林景观 | 盆景奇石 | 激情图库 | 农业资料库 | 园林古建 | 英文站 | 花卉栽培 |
<tr>
<td height="20" bgcolor="#717171" width="70" align=center>
<form method="POST" name=ddfirst action="reader.php" height=20>
<input type="hidden" name="firstpage" value=1></form>
<a href="javascript:dosubfirst()">首 页</a>
</td>
<td bgcolor="#717171" width="340">
<form name=dd16 method="post" action="reader.php">
<font size=4 color=#ffffff>文章搜索 </font>
<input type=text name="searchTarget" size=10 maxlength=30>
<select name="searchtype" size="1" style="background-color:#717171;color:#ffffff">
<option value="title" selected>按题目查询</option>
<option value="serial">按期号查询</option></select>
<input type=hidden name=gosearch value=1></form></td>
<td height="20" bgcolor="#717171" width="360" align=left>
<a href="javascript:dosub16()">开始搜索</a></td></tr>
我的本意是将这些表单在一行中显示,但是显示效果总是三段高低不一,而且整个
行的高度也大大超过了我设定的高度,为什么? 请教!!
---------------------------------------------------------------
这是对你的代码的修改,OK了.
<tr>
<td height="20" bgcolor="#717171" width="70" align=center>
<form method="POST" name=ddfirst action="reader.php" height=20>
<input type="hidden" name="firstpage" value=1></form>
<div align="left"><a href="javascript:dosubfirst()">首 页</a> </div>
</td>
<td bgcolor="#717171" width="340">
<form name=dd16 method="post" action="reader.php">
<div align="left">
<p>
<input type=text name="searchTarget" size=10 maxlength=30>
<select name="searchtype" size="1" style="background-color:#717171;color:#ffffff">
<option value="title" selected>按题目查询</option>
<option value="serial">按期号查询</option>
</select>
<input type=hidden name=gosearch value=1>
</p>
<p> </p>
</div>
</form></td>
<td height="20" bgcolor="#717171" width="360" align=left>
<a href="javascript:dosub16()">开始搜索</a></td></tr>
<div align="left"></div>
---------------------------------------------------------------
把form的位置移移
<tr><form method="POST" name=ddfirst action="reader.php" height=20>
<td height="20" bgcolor="#717171" width="70" align=center>
<input type="hidden" name="firstpage" value=1>
<a href="javascript:dosubfirst()">首 页</a>
</td></form><form name=dd16 method="post" action="reader.php">
<td bgcolor="#717171" width="340">
<font size=4 color=#ffffff>文章搜索 </font>
<input type=text name="searchTarget" size=10 maxlength=30>
<select name="searchtype" size="1" style="background-color:#717171;color:#ffffff">
<option value="title" selected>按题目查询</option>
<option value="serial">按期号查询</option></select>
<input type=hidden name=gosearch value=1></td></form>
<td height="20" bgcolor="#717171" width="360" align=left>
<a href="javascript:dosub16()">开始搜索</a></td></tr>
浙ICP备 :07003766号 Copyright © 2001-2007 JUBAO163,All rights reserved. |