1
tdに幅を追加すると、thが大きくなります。最後の列の幅を制御するにはどうすればよいですか?
最後の列に多くのテキストがありますが、ページ全体に幅を表示したくない場合、どうすれば制御できますか?
私はまだth
をnowrap
とし、 'Replacement'と 'Additional test'は常にyes/no textになります。
私は最後<td>
を見つけ、そこに最大幅を適用するhttps://jsfiddle.net/6Lmt5vjc/
table.standardtable {
border: 1px solid #ddd;
}
table.standardtable th,
table.standardtable td {
padding: 5px 9px;
border-bottom: 1px solid #ddd;
border-left: 1px solid #ddd;
text-align: left;
color: #000;
}
table.standardtable th{
background-color: #f3f3f3;
font-weight: bold;
}
table.standardtable th.section1{
background-color: #04659D;
color: #fff;
border-bottom: 1px solid #044971;
}