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

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

The code is pretty simple:

4条回答
  •  一生所求
    2021-02-02 07:28

    This code works fine, and is responsive:

    table {
    width:100%;
    display: inline-block;
    }
    td, th {
    max-width:100%
    }
    

提交回复
热议问题