【发布时间】:2013-12-21 22:06:43
【问题描述】:
<div class="showtable-page">
<table class="layout display responsive-table">
<thead>
<tr><th>Show</th><th>Address</th><th>Location</th><th>Dates & Hours</th></tr>
</thead>
<tbody>
<tr>
<td class="organisationnumber">ABC</td>
<td>
<ul style="list-style-type: none;">
<li>KLM</li>
<li>OPQ</li>
</ul>
</td>
<td>US</td>
<td>Mon-Fri 9AM - 6PM</td>
</tr>
对于 CSS,我如何获取 table tr td:first-child, table tr th:first-child 这个表? 样式表通常具有表格的基本样式,我需要更改此特定表格的填充。
谢谢
【问题讨论】:
-
table tr td:first-child, table tr th:first-child有什么问题?还是你想要第一行?然后table tr:first-child td, table tr:first-child th
标签: html css css-selectors html-table