
在网页制作中,如何将上下两个输入的文本框对齐?求高人指点代码一二。
如图,将上下的文本框对齐。我的代码如下:<formaction="loginCL.jsp"method="post">whatisyourname:<inputtype=...
如图,将上下的文本框对齐。我的代码如下:
<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"/> 展开
1个回答
展开全部
加上对齐方式 你的 文字的太多 右对齐吧
<form action="loginCL.jsp" method="post" >
<p align="right">
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"/>
</p>
<form action="loginCL.jsp" method="post" >
<p align="right">
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"/>
</p>
追问
呵呵,已经解决了,另外你知道怎么把上述的内容写入数据库吗?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询