Get two forms to display inline

前端 未结 5 673
终归单人心
终归单人心 2021-02-09 00:39

This doesnt work

5条回答
  •  时光说笑
    2021-02-09 01:03

    If I understand the question correctly, you can use display:inline-block;

    form{
        width:200px;           //JUST FOR SHOW
        height:200px;          //JUST FOR SHOW
        background:red;        //JUST FOR SHOW
        display:inline-block;  
        margin:1em;            
    }
    

    Example: http://jsfiddle.net/jasongennaro/dn5NQ/3/

    Obviously, you will need to rework the content of the forms... as you say.

提交回复
热议问题