我的 CSS 代码有什么问题?我想隐藏时间戳列,但它不起作用?我无法访问正文中的任何内容,因为它是自动生成的,因此我正在尝试使用 css。
代码:
<html><head>
<meta http-EQUIV="refresh" content="5">
<style TYPE="text/css">
th, td {
padding-RIGHT: 50px;
text-ALIGN: CENTER;
}
.tb {
CLEAR: both;
}
.tsp {
display: none;
}
</style>
</head>
<body>
<div CLASS="tb"><!-- channeltable schedule="" --><table class="jdt" cellspacing="0">
<colgroup>
<col CLASS="sid"/>
<col CLASS="sun"/>
<col CLASS="chv"/>
<col CLASS="dfu"/>
<col CLASS="tsp"/>
</colgroup>
<thead>
<tr>
<th>Schedule</th>
<th>Name</th>
<th>Value</th>
<th>Units</th>
<th>Timestamp</th>
</tr>
</thead>
<tbody>
<tr>
<td>A</td>
<td>Stream Level</td>
<td>---</td>
<td>metres</td>
<td>2013/06/18 18:10:01.948</td>
</tr>
<tr>
<td>A</td>
<td>Stream Flow</td>
<td>---</td>
<td>cumecs</td>
<td>2013/06/18 18:10:01.989</td>
</tr>
<tr>
<td>A</td>
<td>Tank Pressure</td>
<td>---</td>
<td>PSI</td>
<td>2013/06/18 18:10:02.029</td>
</tr>
<tr>
<td>A</td>
<td>Bubbler Voltage</td>
<td>---</td>
<td>V</td>
<td>2013/06/18 18:10:02.068</td>
</tr>
<tr>
<td>A</td>
<td>Water Temperature</td>
<td>---</td>
<td>Deg</td>
<td>2013/06/18 18:10:03.176</td>
</tr>
<tr>
<td>A</td>
<td>Conductivity</td>
<td>---</td>
<td>uS/cm</td>
<td>2013/06/18 18:10:03.244</td>
</tr>
<tr>
<td>A</td>
<td>Turbidity</td>
<td>---</td>
<td>NTU</td>
<td>2013/06/18 18:10:03.284</td>
</tr>
<tr>
<td>A</td>
<td>pH</td>
<td>OverRange</td>
<td>pH units</td>
<td>2013/06/18 18:10:03.322</td>
</tr>
<tr>
<td>A</td>
<td>Ext. Battery Voltage</td>
<td>18.996444</td>
<td>V</td>
<td>2013/06/18 18:10:03.323</td>
</tr>
</tbody>