How to force a checkbox and text on the same line?

前端 未结 6 436
长情又很酷
长情又很酷 2020-12-28 11:51

How can I force a checkbox and following text to appear on the same line? In the following HTML, I\'d only want the line to break between label and input, not between input

6条回答
  •  无人及你
    2020-12-28 12:30

    http://jsbin.com/etozop/2/edit

    put a div wrapper with WIDTH :
    
      

    a name could be " john winston ono lennon" which is very long... so what do you want to do? (youll never know the length)... you could make a function that wraps after x chars like : "john winston o...."

提交回复
热议问题