html - How to display input button from two different form in single line -
i have display both these buttons in single line. tried adding style="{display:block-inline;}"> in form element suggested somewhere didn't me. idea how ?
<html> <body> <div> <form > <input type="submit" value="button1" /> </form> <form > <input type="submit" value="button2" /> </form> </div> </body> </html>
put both forms in own div , use float in css. see fiddle example:
<body> <div> <div id=form1> <form > <input type="submit" value="button1" /> </form> </div> <divid=form2> <form > <input type="submit" value="button2" /> </form> </div> </div> </body> #form1{ float:left; } #form2{ float:left; }
Comments
Post a Comment