Img in div is too short

I have a flower image in a div which is 3mm too short to fill the parent div to the bottom.

[https://communitychessclub.com/test.html]

Can anyone kindly show me what the problem is and how to fix it with CSS?

Add display: block to the <img> element. By default, images are inline-block and align with the baseline of text. An alternative is to set the image to vertical-align: bottom.

1 Like

Thank you !

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.