定位td的边框,因为tr没有边框属性.
演示
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
table {
border: 1px solid #ccc;
color: #37393b;
margin: 10px 0 0 0;
text-shadow: #fff 1px -1px 1px;
text-align: left;
width: 100%;
}
table tbody tr td {
background: #FFF;
border-bottom: 1px dotted #d00;
}
tr.no-bottom-border td {
border-bottom: none
}
TitleTitle 2Title 3Title 4
Test EntryTest EntryTest EntryTest EntryTest EntryTest EntryTest EntryTest EntryTest EntryTest EntryTest EntryTest EntryTest EntryTest EntryTest EntryTest Entry