2016-09-18 5 views
1

このボーダーの下線を取り除く方法を知ることはできません。 ChromeのInspectではどこにも見つからない。私はフォーラムで見つけることができたすべてを試しましたが、今まで運がありませんでした。テーブル内のボーダーを削除できない

私はバイオリンを使用して、それを再現することができないんだけど、here'sライブサイト

enter image description here

HTML

<table class="table table-1" border="0" cellpadding="0" cellspacing="0"> 
    <tr> 
    <th class="table-header cell-left">Actives</th> 
    <th class="table-header cell-right">Percentage (%)</th> 
    </tr> 
    <tr> 
    <td class="table-data cell-left">Caster Oil</td> 
    <td class="table-data cell-right">25</td> 
    </tr> 
    <tr> 
    <td class="table-data cell-left">Peppermint Oil</td> 
    <td class="table-data cell-right">0.5</td> 
    </tr> 
    <tr> 
    <td class="table-data cell-left">Cinnamon Oil</td> 
    <td class="table-data cell-right">0.25</td> 
    </tr> 
</table> 

CSS

.table { 
    color: $Blue; 
    border: none; 
    border-collapse: collapse; 
    border-spacing: 0; 
    background-color: white; 
} 
th { 
    font-family: 'PPsans', Fallback, sans-serif; 
    font-size: 15px; 
    text-transform: uppercase; 
} 
td { 
    font-family: 'Open Sans', sans-serif; 
    font-size: 14px; 
    text-transform: capitalize; 
    padding: 5px 0; 
} 
.cell-right {text-align:right;} 
.cell-left {text-align: left;} 
+0

重要なのは、作業例を提供します。現在のコードには境界線がありません。 – Dekel

+0

私はどのようにこのコードを使用しているのか分かりませんが、これはブラウザで表示されるものです。 – Kevmon

+0

これは明らかにコード全体ではありません。 jsfiddleを開いてすべてのコードをそこに置きます。 – Dekel

答えて

3

あなたはborder-bottom: 1px solid #1c1d1d;tr:first-child th:after, tr:first-child td:afterを持っていますどのcreatそれは国境です。

あなたは使ってこれを上書きすることができます。

​​

これは後に、以前のコードを行くことを確認してください(または、元のCSSファイルを編集します)。

+0

ありがとう、それは修正されました! – Kevmon

+0

あなたは歓迎です:) – Dekel

0
tr:first-child th:after, tr:first-child td:after{ 
border-bottom: none !important; 
} 

カスタムCSSファイルを持っている場合は、次に使用!

関連する問題