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

前端 未结 6 422
长情又很酷
长情又很酷 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:45

    Try this. The following considers checkbox and label as a unique element:

    
    

提交回复
热议问题