Welcome Guest, Not a member yet? Register   Sign In
want to show the button in one line
#5

With Bootstrap in your projet:

Code:
<form method="post" action="nextPage.html" name="nameForm">
       <input type="text" name="username">
       <input type="password" name="password">
       <!-- buttons -->
       <div class="form-inline">
           <input type="submit" value="Cancel">
           <input type="submit" value="Save">
           <input type="submit" value="Continue">
       </div>        
   </form>

form-inline gives you the hability to place elements side-by-side.
Simple.
Reply


Messages In This Thread
want to show the button in one line - by kvanaraj - 08-19-2018, 11:48 PM
RE: want to show the button in one line - by Php - 08-20-2018, 09:08 PM
RE: want to show the button in one line - by JLDR - 04-19-2019, 02:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB