我有两个提交按钮的两个不同形式的一部分.它们显示在两条不同的线上.是否有可能将它们并排放在一条线上.
<form action="" method="POST"> <input type="submit" name = "" value="OK" > </form> <form action="" method="POST"> <input type="submit" name = "" value="Cancel" > </form>
解决方法
<div style="width:400px;"> <div style="float: left; width: 130px"> <form id="thisone" action="post_nrs_users.asp" method="post"> <input type="submit" name = "" value="OK" > </form> </div> <div style="float: right; width: 225px"> <form id="thistoo" action="post_nrs_users.asp" method="post"> <input type="submit" name = "" value="Cancel" > </form> </div> </div>