我想在Wordpress站点中隐藏表格的表格边框。我已经知道,我的主题是将表格边框设置为标准,并删除相应的代码行。
我现在的问题是:表格边框仍然可见!你们中有没有人能给我一个解决这个问题的建议?
以下是该网站的链接:http://studifutter.com/2732-2/
非常提前感谢您。
致以最好的问候,Maverick
按照要求,您可以在这里看到我当前的代码:
<table style="border-color: #ffffff; background-color: #ffffff;" border="none">
<tbody>
<tr>
<td>
<h4>Über den Autor</h4>
</td>
<td></td>
</tr>
<tr>
<td style="text-align: justify;"><strong>Vorname Nachname</strong> tempor cum
soluta nobis eleifend option congue
nihil imperdiet doming id quod
mazim placerat facer possim assum.
Lorem ipsum dolor sit amet,
consectetuer adipiscing elit, sed diam
nonummy nibh euismod. soluta nobis
eleifend option liber tempor cum
solute.</td>
<td><img class=" wp-image-2548" src="http://studifutter.com/wp-content/uploads/2016/01/Maske-300x225.jpg" alt="Häufiges Phänomen in Asien: Person mit Atemschutz. (Bild 2)" width="251" height="188" /></td>
</tr>
</tbody>
</table>发布于 2016-02-06 00:56:52
如果需要隐藏表格边框,请使用:
.entry-content table {
border: 0px;
}如果你需要隐藏表格的TR边框,那么使用:
.entry-content table tr {
border: 0px;
}要隐藏TD边框,请使用:
.entry-content table > thead > tr > th,
.entry-content table > tbody > tr > th,
.entry-content table > tfoot > tr > th,
.entry-content table > thead > tr > td,
.entry-content table > tbody > tr > td,
.entry-content table > tfoot > tr > td {
border: 0px;
}发布于 2016-02-06 00:46:12
在……下面
<div class="clearfix entry-content">你有一个table。
要删除它的边框,可以将以下内容添加到底部的CSS文件中:
.entry-content table tr{
border: none;
}https://stackoverflow.com/questions/35229177
复制相似问题