Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

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>
 
PREVIOUS NEXT
Tagged: #html #image #div
ADD COMMENT
Topic
Name
3+1 =