Reputation: 17
In chrome my image borders are cut off on the right side
but in other browsers it looks fine it only happens in Chrome. Is there any fix for this? here's the live version of the site http://www.blackrockshooter.nu
Upvotes: 0
Views: 15710
Reputation: 4248
CSS:
.box-images img {
box-sizing: border-box; /* add this */
-moz-box-sizing: border-box; /* Firefox */
-webkit-box-sizing: border-box; /* Older Webkit browsers */
border: 3px solid #1f5bbb;
float: left;
padding: 5px;
}
Upvotes: 4
Reputation: 38252
Change the property column-gap
to 0 :
.imagecontent {
-webkit-column-gap:0;
column-gap:0;
}
Upvotes: 0
Reputation: 529
Please change CSS
.box-images img {
border: 3px solid #1f5bbb;
float: left;
/*padding: 5px;*/
}
.smallinfo {
color: #FFF;
background-color: #1f5bbb;
float: left;
width: 100%;
border-right-width: 3px;
border-left-width: 3px;
border-right-style: solid;
border-left-style: solid;
border-right-color: #1f5bbb;
border-left-color: #1f5bbb;
/*padding-right: 5px;*/
padding-bottom: 5px;
/*padding-left: 5px;*/
font-weight: bold;
font-size: 0.75em;
text-align: center;
}
Upvotes: 0
Reputation: 407
update .imagecontent like below:
.imagecontent {
-moz-column-count: 4;
-moz-column-gap: 6px;
width: 960px;
}
then the border will come out again
Upvotes: 0