you can add vertical-align:bottom;
to the td,th
.
You can check the source code here: https://jsfiddle.net/k1gapfmq/
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 50%;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
vertical-align: bottom;
padding: 8px;
}
input[name=^='product'] {
background-color: red;
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…