How can I force two elements to always stay on the same line in a

后端 未结 4 927
轮回少年
轮回少年 2021-02-02 06:42

The code is pretty simple:

4条回答
  •  无人及你
    2021-02-02 07:25

    Defining a white-space may be one of the way to get it done, but as a tabular data, its better if you fix the max size of width of the label instead

    label { width: 100px; display: inline-block; }
    

提交回复
热议问题