Answers for "image going out of div"

0

html image goes outside div

<!-- An image will go outside its parent div if the div 
has no set height and no overflow -->

<div style="height: 100px; overflow: hidden;">
	<img src=#>
</div>
Posted by: Guest on September-23-2020

Code answers related to "image going out of div"

Browse Popular Code Answers by Language