@JeuriMorel
Posted
The most common ways to solve that issue, as far as I know, is to add either of the following to your images:
display: block;
vertical-align: middle;
(I think any value here works.)
Great job on the solution by the way.
Marked as helpful
@JeuriMorel
Exactly what I was looking for. Thanks!
@JeuriMorel
Posted
@slowjo
You're welcome. I usually include the following in the CSS resets:
img,
svg {
max-width: 100%;
display: block;
}
It makes working with images a lot easier.
Marked as helpful