我簡單套用以下的CSS:CSS支持的變化僅表示當我登錄到WordPress的
.StandardTable table th {
background: #0098B4 !important;
color: #ffffff !important;
text-align: center !important;
}
.StandardTable table tr {
background: #ffffff !important;
color: #000000 !important;
}
.StandardTable table tr:hover{
background-color:#1f2326 !important;
color: #ffffff !important;
}
.StandardTable table, th, td {
border: 1px solid #dcdcdc;
}
<div class="StandardTable">
<table width="100%">
<thead>
<tr>
<th>Country of Residency</th>
<th>UK</th>
<th>Malta</th>
<th>New Zealand</th>
<th>Australia</th>
<th>Gibraltar</th>
</tr>
</thead>
<tbody>
<tr>
<td>Albania</td>
<td>UK</td>
<td>Local</td>
<td>text</td>
<td>text</td>
<td>text</td>
</tr>
</tbody>
</table>
</div>
我只能看到的變化,如果我登錄到WordPress的,如果我只是作爲嘉賓訪問網站,樣式不顯示。
有什麼想法嗎?
如果你在現場演示中有一張桌子,這將有所幫助。 – Quentin
對不起,我完全忘了。 http://f9d.577.myftpupload.com/dta_analysis/ – Robinlolo
請閱讀[我的網站上的某些內容不起作用。我可以只粘貼一個鏈接嗎?](http://meta.stackoverflow.com/questions/125997/something-on-my-web-site-doesnt-work-can-i-just-paste-a-link -to-IT)。當外部資源消失或者固定時,依賴於外部資源被理解的問題變得毫無用處。創建一個[MCVE]並將其置於**問題本身**中。 – Quentin