2016-09-08 15 views
0

Firefoxでブートストラップテーブルの境界が正しく表示されません。私はプロジェクトでテーブルを作成しましたが、Firefoxでは正しく表示されません。しかし、クロムは問題ありません。みんな助けてくださいFirefoxでブートストラップテーブルの境界が正しく表示されない

Firefoxでブートストラップテーブルの境界が正しく表示されません。私はプロジェクトでテーブルを作成しましたが、Firefoxでは正しく表示されません。しかし、クロムは問題ありません。男はdisplay: table-cellに変更display: blockくれ

enter image description here

#product-attribute-specs-table th {border-bottom: medium none;border-radius: 0;border-right: medium none;box-shadow: none;color: #333333;display: block;font-size: 100%;font-weight: 600;line-height: 1.42857;text-align: left; }
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> 
 
<table id="product-attribute-specs-table" class="data-table table table-striped"> 
 
    <tbody> 
 
    <tr even=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    <tr odd=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    <tr even=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    <tr odd=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    <tr even=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    <tr odd=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    <tr even=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    <tr odd=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    <tr even=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    <tr odd=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    <tr even=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    <tr odd=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    <tr even=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    <tr odd=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    <tr even=""> 
 
     <th class="label ">Test 1</th> 
 
     <td class="data">Test 2</td> 
 
    </tr> 
 
    </tbody> 
 
</table>

+0

をお楽しみください!ちょうど**大胆な**テキストに?よく 'strong'や' b'を使うことができます。この問題を引き起こしている可能性があります。 – vivekkupadhyay

+0

ここから学びます。 http://www.w3schools.com/bootstrap/bootstrap_tables.asp –

+1

このコードをFirefoxでもテストできますか?chrome https://jsfiddle.net/cns1p65r/17​​/その動作が完璧で、同じ罫線を表示できますか? –

答えて

1

を助けてください。

CSS:私はこれがあなたの役に立てば幸い

#product-attribute-specs-table th { 
    border-bottom: medium none; 
    border-radius: 0; 
    border-right: medium none; 
    box-shadow: none; 
    color: #333333; 
    display: table-cell; 
    font-size: 100%; 
    font-weight: 600; 
    line-height: 1.42857; 
    text-align: left; 
} 

。同じ行に `` を使用して `と`​​なぜ

は:)

+0

感謝jyoti非常に便利な答え。 –

関連する問題