Html 我不能';t从我的WP站点上的表中删除边框

Html 我不能';t从我的WP站点上的表中删除边框,html,css,Html,Css,我无法隐藏桌子周围的边框。我使用了匈牙利id和图片名称,但我认为id并不重要,JS工作得很好。我无法隐藏它,但我可以使它大于0px 我试过!重要提示,边框:无,边框:0px,或简单尝试将其更改为白色 #tablazat { border-bottom: 0px solid blue; } <table id="tablazat"> <tbody> <tr> <th>

我无法隐藏桌子周围的边框。我使用了匈牙利id和图片名称,但我认为id并不重要,JS工作得很好。我无法隐藏它,但我可以使它大于0px

我试过
!重要提示
边框:无
边框:0px
,或简单尝试将其更改为白色

#tablazat {
    border-bottom: 0px solid blue;
}



<table id="tablazat">
    <tbody>
        <tr>
            <th>
                <img onclick="kep1('inferno')" class="mapok" id="inferno" src="http://www.mathiaszlan.nhely.hu/wp-content/uploads/2019/09/inferno.png" disabled="true"></th>
            <th>
                <img onclick="kep1('train')" class="mapok" id="train" src="http://www.mathiaszlan.nhely.hu/wp-content/uploads/2019/09/train.png" disabled="true"></th>
        </tr>
        <tr>
            <th>
                <img onclick="kep1('mirage')" class="mapok" id="mirage" src="http://www.mathiaszlan.nhely.hu/wp-content/uploads/2019/09/mirage.png" disabled="true"></th>
            <th>
                <img onclick="kep1('nuke')" class="mapok" id="nuke" src="http://www.mathiaszlan.nhely.hu/wp-content/uploads/2019/09/nuke.png" disabled="true"></th>
        </tr>
    </tbody>
</table>
#tablazat{
边框底部:0px纯蓝色;
}

请将此属性放入表中

<table id="tablazat" cellspacing="0" cellpadding="0">

也要尽量避免使用元素,除非您试图查看类似于电子表格的内容


更好地使用和css flexbox

边框位于
th
td
元素周围(在您的style.css中):

th,td{
边框:1px实心#333;
填充物:5px;
文本对齐:居中;
}
如果要将其从此特定表中删除,可以通过添加:

#tablazat th{
边界:无;
}
而不是下面的代码

th, td {
    border: 1px solid #333;
    padding: 5px;
    text-align: center;
}
你可以用

th, td {
    border: 0px solid #333;
    padding: 5px;
    text-align: center;
 }

我们在这里帮不上忙。需要覆盖某些样式表或内联样式。您需要使用浏览器的文档检查器来查看它是什么。很可能表格行有边框,或者某些外部元素有边框。如果你想链接到该站点,我相信我们可以提供帮助。你能为此创建一个JSFIDLE或codepen吗?这是一个链接,这是一个codepen我不得不说抱歉,我是新来的,我不知道如何显示大部分信息