Why do my Twitter Bootstrap form fields overflow their well using fluid container?

后端 未结 8 659
自闭症患者
自闭症患者 2021-01-30 21:04

UPDATE: Demo of problem here: http://jsfiddle.net/fdB5Q/embedded/result/

From about 767px to 998px, the form fields are wider than the containing well.

Smaller t

8条回答
  •  失恋的感觉
    2021-01-30 21:27

    I ran across this problem with form inputs and panel body. I answered it in the following item: Twitter Bootstrap: Stop input field extending beyond well

    The problem for me was that the form was overflowing. This allowed the inputs to follow suit. By fixing the max-width of the form (max-width: 100%) I was able to fix inputs as well as any other content that may be placed inside the form.

提交回复
热议问题