2017-03-17 81 views
0

在引導面板標題上,我將背景顏色替換爲很好的圖像背景。引導程序摺疊面板邊框

然後在周圍的面板標題邊框顯示白色邊框,我改變了透明邊框。

但我仍然在面板標題上顯示底部白色邊框,並不確定它來自哪裏。

有誰知道我該如何刪除白底白色邊框,並只顯示完整圖像背景沒有圍繞顏色邊框!

這裏是代碼。

<style> 
.panel-default .panel-heading{ 
    background-image: url(../images/red-header.png); 
    background-repeat: repeat-x; 
    color:white; 
    font-size: 14px; 
    font-weight: bold; 
    padding-top: 13px; 
    height: 40px; 
    margin-right: 0px; 
    border:soiid 1px #BF1D2B; 

} 
</sylte> 

<div class="container"> 
    <div class="row"> 
     <div class="col-md-8"> 
      <div class="panel panel-default"> 
       <div class="panel-heading"> 
        <h3 class="panel-title">Panel 1</h3> 
        <span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span> 
       </div> 
       <div class="panel-body"> 

        Founded in 1892 and headquartered in Fairfield, CT, LexisNexis Corporate Affiliations 
        is a technology and financial services company. 

       </div> 
      </div> 
     </div> 

回答

0

我跑你的頁面,只是修正「soiid」到「實」,和你的面板邊框的標題有你所設定的顏色#BF1D2B。所以如果你刪除這個屬性,我認爲你得到你想要的。注意:我可能沒有很好地理解你的問題,對不起。

+0

即使我確定我仍然顯示底部的白色邊框。 – user1953826