I am trying to get the multiple university logo images in a row to scale down as the browser width gets smaller and not overflow its container div, just like I do with the b
Not sure what HTML you've already got, but if the images are each wrapped inside a Working demo here. then you can use
display: table;
and display: table-cell
to ensure that no matter how many images, they'll always fit the width correctly.
body {
margin: 0;
}
#partners {
height: 105px;
background-color: #eee;
white-space: nowrap;
width: 100%;
display: table;
}
.logo-image {
vertical-align: middle;
padding: 13px;
display: table-cell;
}
.logo-image img {
max-width: 100%;
}