This doesnt work
<form style ='display:inline;'>
<input type = 'submit'/>
</form>
<form style ='display:inline;'>
<input type = 'submit'/>
</form>
I want two forms that submit to different scripts and each have an input button to display inline.
I want to style it inline as someone else will make more permanent changes to the main CSS file what am I doing wrong?
I think what you want is to display them side by side. You can do it using floats instead like so:
<form style ='float: left; padding: 5px;'>
akjfhdkjahj<br />
<input type = 'submit'/>
</form>
<form style ='float: left; padding: 5px;'>
aklfjas<br />
<input type = 'submit'/>
</form>
But even that's not ideal. What would be best is to wrap each < form > in < div >s and use float in the div tag instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With