I'm dealing with a set of 15 consecutively displayed images, each following the same format:
<div class="foo">
<p>
<a href=""><img src="img.jpg"></a>
</p>
<p>
<a href=""><img src="img.jpg"></a>
</p>
...
</div>
Here is the CSS applied to these images:
.foo img {
height: 75%;
width: 75%;
}
All browsers I've tested have displayed the images correctly, except for an older Macbook OSx version (10.5.8) where both Chrome and Safari show the images stretched out.
I am attempting to resize each image to be 75% smaller than its original size. However, since the sizes vary, resizing each manually seems inefficient.
Is there a way to resolve this issue without individually resizing every image?