I have a table with 100% width. If I put
By using the code above, the last table-cell will try to be as big as possible, and you will prevent the ones before that from wrapping. This does the same as the other answers given, but way more efficient.s in it, they get spread out with equal length columns. However, I want all the columns except last to have a
td:not(:last-child){
white-space: nowrap;
}
td:last-child{
width: 100%;
}