在网页制作中,如何将上下两个输入的文本框对齐?求高人指点
如图,我的代码如下:<formaction="loginCL.jsp"method="post">whatisyourname:<inputtype="text"name...
如图,我的代码如下:
<form action="loginCL.jsp" method="post" >
what is your name:<input type="text" name="username"><br>
how much is this product:&<input type="text" name="username"><br>
how long is the logistic:<input type="text" name="username"><br>
How do you like this product:<input type="text" name="username"><br>
how much do you mark to object:<input type="text" name="username"><br>
<input type="submit" value="submit"/>
<input type="reset" value="reset"/>
图片 展开
<form action="loginCL.jsp" method="post" >
what is your name:<input type="text" name="username"><br>
how much is this product:&<input type="text" name="username"><br>
how long is the logistic:<input type="text" name="username"><br>
How do you like this product:<input type="text" name="username"><br>
how much do you mark to object:<input type="text" name="username"><br>
<input type="submit" value="submit"/>
<input type="reset" value="reset"/>
图片 展开
展开全部
我想在我的网页上的文本框中输入两个数 在计算它们的结果 结果在另外一个改下JS保证正确
追问
请搜索韩顺平jsp。上面有讲的
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
使用表格
<table>
<tr>
<td align=right>what is your name:</td>
<td><input type="text" name="username1" size="20"></td>
</tr>
<tr>
<td align=right>how much is this product:</td>
<td><input type="text" name="username2" size="20"></td>
</tr>
<tr>
<td align=right>how long is the logistic:</td>
<td><input type="text" name="username3" size="20"></td>
</tr>
<tr>
<td align=right>How do you like this product:</td>
<td><input type="text" name="username4" size="20"></td>
</tr>
<tr>
<td align=right>how much do you mark to object:</td>
<td><input type="text" name="username"></td>
</tr>
<tr>
<td colspan="2" style="text-align: center">
<input type="submit" value="submit"/>
<input type="reset" value="reset"/>
</td>
</tr>
</table>
<table>
<tr>
<td align=right>what is your name:</td>
<td><input type="text" name="username1" size="20"></td>
</tr>
<tr>
<td align=right>how much is this product:</td>
<td><input type="text" name="username2" size="20"></td>
</tr>
<tr>
<td align=right>how long is the logistic:</td>
<td><input type="text" name="username3" size="20"></td>
</tr>
<tr>
<td align=right>How do you like this product:</td>
<td><input type="text" name="username4" size="20"></td>
</tr>
<tr>
<td align=right>how much do you mark to object:</td>
<td><input type="text" name="username"></td>
</tr>
<tr>
<td colspan="2" style="text-align: center">
<input type="submit" value="submit"/>
<input type="reset" value="reset"/>
</td>
</tr>
</table>
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |