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

后端 未结 10 1026
忘掉有多难
忘掉有多难 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:24

    I would put each element that you want inline inside a separate col-md-* div within your row. Or force your elements to display inline. The form-control class displays block because that's the way bootstrap thinks it should be done.

提交回复
热议问题