急件,高手都请进来看看,送分

0jackey 2003-12-31 09:28:37
我最近做了一个搜索引擎,原来文本字段(就是可以输入文字的那个框)和提交按钮是一起放在表单(就是红色的那个虚线)里的,在同一个表格,但现在必须要把文本字段和提交按钮分别放在两个表格里,我试过如果按钮离开了表单范围(虚线范围),就不能使用,简单点讲我以前是做在一个表格里,现在要分别把输入框和提交按钮分表放在两个表格里。请问有什么办法能解决?
   这个问题比较急,还请大家帮忙。
...全文
57 19 打赏 收藏 转发到动态 举报
写回复
用AI写文章
19 条回复
切换为时间正序
请发表友善的回复…
发表回复
Xiaoxiong511 2003-12-31
  • 打赏
  • 举报
回复
是哪一幅?左、右、还是下面的一幅,我这看不到图!你把图发过来
huaxiaoxiong@163.com
Xiaoxiong511 2003-12-31
  • 打赏
  • 举报
回复
我这里看不到你的图片,不过我这显示是稳合的!
只要保证你里面表格的内容不超高就没有问题
0jackey 2003-12-31
  • 打赏
  • 举报
回复
我现在有个问题就是一放上去,预览的时候就会向下移位,其它都行,就向下移会这个问题就够烦了。
Xiaoxiong511 2003-12-31
  • 打赏
  • 举报
回复
你把表单放到两个表格外就可以了!
进入代码,把<form>标签移到<table>后面,把</form>移到</table>前面,这样在视图模式就看不到红色的虚框了
DeltaCat 2003-12-31
  • 打赏
  • 举报
回复
@-&
0jackey 2003-12-31
  • 打赏
  • 举报
回复
这是加上旁边的图的,这个完整一点,能否做到让图不移位?
<TABLE width=197 border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD vAlign=top align=right width=20 rowSpan=2><IMG height=90
src="index1.files/corner_03.gif" width=20></TD>
<TD vAlign=top align=left colSpan=2><IMG height=5
src="index1.files/corner_02.gif" width=177></TD></TR>
<TR>
<TD class=bgi_left_01 vAlign=top align=right width=164
height=85>
<TABLE width="100%" border=0 cellPadding=0 cellSpacing=0 background="index1.files/bgi_left01.gif">

<TBODY>
<TR>
<TD width="100%"
height=32 align=left class=bb1><span class="bb11">在此可查讯到你所需的内容</span><BR>
请输入你想要查询的关键字</TD>
</TR>
<TR>
<TD height=23 vAlign=bottom>
<INPUT class=textarea
size=21 name=name>
</TD>
</TR>
<TR>
<TD height=30><SPAN style="CURSOR: hand"><IMG
onclick=jump2whois() height=19
src="index1.files/button_01.gif" width=65></SPAN> <A
href="#"
target=_blank><IMG height=19 hspace=5
src="index1.files/button_02.gif" width=65
border=0></A></TD>
</TR></FORM>
</TABLE></TD>
<TD class=bgi_left_01 vAlign=top align=right width=14><IMG
height=85 src="index1.files/corner_04.gif" width=14></TD></TR>
<TR>
<TD colSpan=3 height=9><IMG height=12
src="index1.files/corner_05.gif"
width=197></TD></TR>
</TABLE>
0jackey 2003-12-31
  • 打赏
  • 举报
回复
现在最麻烦的就是一放上去表格下面的图就会移位,我都搞了两天了,受不了,高手们再帮我看看吧。我现在需要放上个表格上并覆盖它。以下是目标代码。

<TABLE width="100%" border=0 cellPadding=0 cellSpacing=0 background="index1.files/bgi_left01.gif">

<TBODY>
<TR>
<TD width="100%"
height=32 align=left class=bb1><span class="bb11">在此可查讯到你所需的内容</span><BR>
请输入你想要查询的关键字</TD>
</TR>
<TR>
<TD height=23 vAlign=bottom>
<INPUT class=textarea
size=21 name=name>
</TD>
</TR>
<TR>
<TD height=30><SPAN style="CURSOR: hand"><IMG
onclick=jump2whois() height=19
src="index1.files/button_01.gif" width=65></SPAN> <A
href="#"
target=_blank><IMG height=19 hspace=5
src="index1.files/button_02.gif" width=65
border=0></A></TD>
</TR></FORM>
</TABLE>
0jackey 2003-12-31
  • 打赏
  • 举报
回复
怎样把form(红色的虚线)收窄啊?DW里不能拉动啊.
美丽心情 2003-12-31
  • 打赏
  • 举报
回复
呵呵,把form放到最外面,贴着body都没有关系的

<body>
<form>
</form>
</body>
  • 打赏
  • 举报
回复
你用form套住两个表格不就行了。
jakedai 2003-12-31
  • 打赏
  • 举报
回复
倒倒倒倒倒倒倒倒倒倒!!!!
tweeg_nee 2003-12-31
  • 打赏
  • 举报
回复
对啊,把 form 放在最外面,直接跟在 body 后面也可以的
wunl 2003-12-31
  • 打赏
  • 举报
回复
<body>
<form action="javascript:RunSearch()" name="formSear" id="formSear">
<table height="53" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="147"><input name="searWords" type="text" id="searWords" size="21">
<br>
<INPUT name=Send type="image" src="index1.files/button_01.gif" value=Search>
</td>
</tr>
</table>
<table>
<tr>
<td> <img src="index1.files/button_02.gif" width="65" height="19">
</td>
</tr>
</table>
</form>
<script LANGUAGE="JavaScript" src="webdata.js"> </script>
<script LANGUAGE="JavaScript" src="searchfunc.js"> </script>
</body>
tianjy 2003-12-31
  • 打赏
  • 举报
回复
<body>
<form action="javascript:RunSearch()" name="formSear" id="formSear">
<table height="53" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="147">
<input name="searWords" type="text" id="searWords" size="21">
<br>
<INPUT name=Send type="image" src="index1.files/button_01.gif" value=Search>
<img src="index1.files/button_02.gif" width="65" height="19">
</td>
</tr>
</table>
<script LANGUAGE="JavaScript" src="webdata.js"> </script>
<script LANGUAGE="JavaScript" src="searchfunc.js"> </script>
</form>
</body>
xieyj 2003-12-31
  • 打赏
  • 举报
回复
你把 form 放在 table 外, table 里还可以嵌 table 的
0jackey 2003-12-31
  • 打赏
  • 举报
回复
原来的代码(一个表格里时)的代码如下,从body开始.

<body>
<table height="53" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="147"><form action="javascript:RunSearch()" name="formSear" id="formSear">
<input name="searWords" type="text" id="searWords" size="21">
<br>
<INPUT name=Send type="image" src="index1.files/button_01.gif" value=Search>
<img src="index1.files/button_02.gif" width="65" height="19">
</form></td>
</tr>
</table>
<script LANGUAGE="JavaScript" src="webdata.js"> </script>
<script LANGUAGE="JavaScript" src="searchfunc.js"> </script>
</body>
monkeys 2003-12-31
  • 打赏
  • 举报
回复
<body>
<form>
</form>
</body>
0jackey 2003-12-31
  • 打赏
  • 举报
回复
内容没有超高,自动向下移,都不知为什么
0jackey 2003-12-31
  • 打赏
  • 举报
回复
下面的一幅向下移

28,407

社区成员

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

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