Make 2 buttons inside a table cell be next to each other

前端 未结 5 518
北海茫月
北海茫月 2021-01-11 15:37

I have the following code :

      
        
5条回答
  •  伪装坚强ぢ
    2021-01-11 16:05

    Did you tried display: inline-block;? However that seems unnecessary because two buttons in the same table cell will appear on the same line.

    table,
    td,
    tr {
      border: 1px solid black;
      border-collapse: collapse;
    }

提交回复
热议问题