I have a table with 100% width. If I put
You can set fix width by placing https://jsfiddle.net/8bf17o1v/s in it, they get spread out with equal length columns. However, I want all the columns except last to have a
div tag inside tdtable {
border: 1px solid green;
border-collapse: collapse;
width:100%;
}
table td {
border: 1px solid green;
}
table td:nth-child(1) {
width: 1%;
}
table td:nth-child(1) div {
width: 300px;
}
data
junk here
last column
data
junk here
last column
data
junk here
last column