Bootstrap 3.0: How to have text and input on same line?

后端 未结 10 926
忘掉有多难
忘掉有多难 2021-01-30 10:10

I\'m currently switching my website over to Bootstrap 3.0. I\'m having an issue with form input and text formatting. What worked in Bootstrap 2 does not work in Bootstrap 3.

10条回答
  •  执笔经年
    2021-01-30 10:27

    What you need is the .form-inline class. You need to be careful though, with the new .form.inline class you have to specify the width for each control.

    Take a look at this

提交回复
热议问题