Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

css issue on firefox, border not show correctly

i got an issue on firefox, while all IE, Safari and chrome are working.

<div class="forDiv">ddd</div>
<table class="forTable"> .... </table>


.forDiv {
width:100%;
border:3px solid #236FBD;
background-color: #236FBD;
}

.forTable{
width:100%;
border:3px solid #236FBD;
background-color: #236FBD;
}

in firefox, the div is a bit smaller. how can i fix it?

like image 518
jojo Avatar asked Dec 03 '22 07:12

jojo


1 Answers

.forDiv {
width:100%;
border:3px solid #236FBD;
background-color: #236FBD;
-moz-box-sizing: border-box;
}

.forTable{
width:100%;
border:3px solid #236FBD;
background-color: #236FBD;
-moz-box-sizing: border-box;
}
like image 188
scott Avatar answered Dec 14 '22 10:12

scott