2016-04-07 13 views
0

Firefox display-table-cell zeigt nicht border-right und border-bottom!Firefox Anzeige-Tabelle-Zelle zeigt keine Grenze-rechts und unten

enter image description here

Der Code:

.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 addieren css code – Robert

+0

Kann nicht reproduzieren. Angesichts Ihrer Antwort scheint es nur, dass die Tabelle einen Container mit "overflow: hidden" überläuft. – Oriol

Antwort

0

ich eine CSS Table und die calc() function eine Lösung für mein Problem gefunden werden.

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

'box-sizing: border-box' – Oriol