0
我使用Bootstrap v3.0.0在表格標題上進行下拉。我在設計時使用了Chrome瀏覽器,並且一切看起來都很好。現在,當我在Firefox或IE中查看頁面時,我的單元格邊框缺失。表格邊框出現在Chrome中,但不是Firefox或IE
這是我的下拉列表的html。
<th class="dropdown">
<button class="btn-th dropdown-toggle" type="button" data-toggle="dropdown" style="min-width:82px;">
Colour
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#" onclick="filterRows('', 0); return false;">Show All</a></li>
<li><a href="#" onclick="filterRows('colour','Red'); return false;">Red</a></li>
<li><a href="#" onclick="filterRows('colour','Blue'); return false;">Blue</a></li>
<li><a href="#" onclick="filterRows('colour','Green'); return false;">Green</a></li>
<li><a href="#" onclick="filterRows('colour','Yellow'); return false;">Yellow</a></li>
<li><a href="#" onclick="filterRows('colour','Brown'); return false;">Brown</a></li>
</ul>
</th>
該類BTN個
.btn-th {
font-weight: bold;
padding: 0 !important;
cursor: pointer;
border-radius: 0;
border-width: 0px;
background-color: transparent;
-webkit-box-shadow: none;
box-shadow: none;
border-color: transparent;
background-color: transparent;
}
什麼Firefox顯示我右鍵單擊並檢查元素並選擇計算。正如你所看到的 - Firefox說它應該有一個底部邊界!
細胞任一側是沒有鐘聲或哨子的標準,並且他們被示出所有的瀏覽器的所有邊界。
我在這裏錯過了什麼 - 我的邊界去哪兒了?