How to display HTML <FORM> as inline element?

后端 未结 7 1941
死守一世寂寞
死守一世寂寞 2020-12-02 10:43

This is probably a basic html/css question...

I have a simple one-button form that I would like to display inline inside paragraph text.

Rea

相关标签:
7条回答
  • 2020-12-02 11:46

    Just use the style float: left in this way:

    <p style="float: left"> Lorem Ipsum </p> 
    <form style="float: left">
       <input  type='submit'/>
    </form>
    <p style="float: left"> Lorem Ipsum </p>
    
    0 讨论(0)
提交回复
热议问题