将下面的css代码加到对应的模板,模板路径:template文件夹下面的news.html或者product.html,将代码加到文件的最下面空白处即可
<style>
/*!表格专用css*/
table{max-width:100%;border-collapse:collapse;border-spacing:0}
table,.table{width:100%;margin-bottom:18px}table th,.table th,table
td,.table td{padding:8px;line-height:18px;text-align:left;vertical-align:top;
border-top:1px solid #ddd}table th,.table th{font-weight:bold}table thead th,
.table thead th{vertical-align:bottom}table thead:first-child tr th,
.table thead:first-child tr th,table thead:first-child tr td,.table
thead:first-child tr td{border-top:0}table tbody+tbody,
.table tbody+tbody{border-top:2px solid #ddd}.table-condensed th,
.table-condensed td{padding:4px 5px}
table{border:1px solid #ddd;*border-collapse:collapsed;-webkit-border-radius:4px;
-moz-border-radius:4px;border-radius:4px}table th+th,table td+td,table th+td,table
td+th{border-left:1px solid #ddd}table thead:last-child tr:last-child th:last-child,
table tbody:last-child tr:last-child td:last-child{}.table tbody tr:hover td,.table
tbody tr:hover th{background-color:#f5f5f5}table th{background:#fffbe9}.table th
,.table td{vertical-align:middle}
</style>相关标签: