Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

Images overflowing the boundaries of a DIV HTML

Apr 27, 2012 by SunFun
I wanted to set up a user page for a new site, with a box containing a photo and a profile of the person. The problem is that if the text profile was too short, the image overflows the bottom boundary of the div, which had a visible border around it.
Does anyone know how to fix this?


1 Answer

0 votes
Apr 27, 2012 by ZakWeb
Try  to place <div style="clear:both"></div> just before the end of the DIV to clear the float.