简单的表单提交问题

coollele 2008-10-10 10:02:51
<form name="form1" method="post" action="" style="margin-top: 0px;margin-right: 0px; margin-bottom: 0px; ">

<input name="textfield" type="text" class="search" size="10" maxlength="50" >
<input name="imageField" type="image" src="images/big1.jpg" width="63" height="21" border="0" style="margin-top: 0px;margin-right: 0px; margin-bottom: 0px; ">
</form>


中间的提交按纽,与前面的录入框对不齐; 请看www.cfaeo.cn 右上角有个搜索提交框,按纽与录入框不能对齐;请问怎样解决???
...全文
62 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
zlj303 2008-10-10
  • 打赏
  • 举报
回复
对,用table
xuwei214 2008-10-10
  • 打赏
  • 举报
回复
不知道你用什么套在表单的外面,建议用表格.
<table width="120px">/*表格宽度自己改
<tr>
<form name="form1" method="post" action="" style="margin-top: 0px;margin-right: 0px; margin-bottom: 0px; ">
<td><input name="textfield" type="text" class="search" size="10" maxlength="50" > </td>
<td><input name="imageField" type="image" src="images/big1.jpg" width="63" height="21" border="0" style="margin-top: 0px;margin-right: 0px; margin-bottom: 0px; "> </td>
</table>
</form>
修改表格中单元格的对齐方式来对齐按钮.
看看这样行不行?

sy_binbin 2008-10-10
  • 打赏
  • 举报
回复
table吧
Dogfish 2008-10-10
  • 打赏
  • 举报
回复
table,简单。容易控制。
Atai-Lu 2008-10-10
  • 打赏
  • 举报
回复
汗,不对齐就用table嵌套,或者用div嵌套,看你的样子,应该是刚学的,建议还是用table嵌套吧

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧