2016-04-07 24 views
0

Firefox display-table-cellが表示されないborder-rightborder-bottomFirefox display-table-cellに境界線が表示されない - 右下と下端

enter image description here

コード:

.slides { 
 
    display: table; 
 
} 
 
.proImgSection, .profileInfo { 
 
    width: 50%; 
 
    display: table-cell; 
 
    vertical-align: middle; 
 
} 
 
.profileInfo { 
 
    border: 1px solid #5d5d5d; 
 
    border-left: 0; 
 
}
<div class="slides"> 
 
    <div class="proImgSection"> 
 
    <img src="img/li-europan_img.jpg"> 
 
    </div> <!-- .proImgSection --> 
 
    <div class="profileInfo"> 
 
    <div class="profileInner"> 
 
     <span class="u_name"><span class="greenTxt">Li Europan </span></span> 
 
     <p>Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. Por scientie, musica, sport etc, litot Europa usa li sam vocabular. Li lingues differe solmen in li grammatica, li pronunciation e li plu commun vocabules.Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. Por scientie, musica, sport etc, litot Europa usa li sam vocabular </p> 
 
    </div> <!-- .profileInner --> 
 
    </div> <!-- .img --> 
 
</div>

+0

plsコードを追加 – Robert

+0

再生できません。あなたの答えを考えれば、テーブルが 'overflow:hidden'でコンテナをオーバーフローさせたように見えます。 – Oriol

答えて

0

私はCSS Tablecalc() functionを使用して、私の問題への解決策を見つけました。

.slides { 
    display: table; 
    width: calc(100% - 1px); 
} 
+0

'box-sizing:border-box' – Oriol

関連する問題