hanlonj Posted January 12, 2009 Share Posted January 12, 2009 Hi, I have an image on my website with text floated right of the image. I have a footer immediately below both. Here's the problem. The image height is higher than the text. This means the image dips to cover part of the footer. Apart from reducing the height of my image, is there any handy CSS way of dealing with this? If I'm being unclear please let me know. hj Quote Link to comment Share on other sites More sharing options...
htmlstig Posted January 12, 2009 Share Posted January 12, 2009 have you gave the div that the image is in an auto height? that will make the div stretch to whatever is in it. Quote Link to comment Share on other sites More sharing options...
dropfaith Posted January 13, 2009 Share Posted January 13, 2009 wouldnt forcing the footer to clear:both also work by forcing the footer to the bottom of the larger div Quote Link to comment Share on other sites More sharing options...
haku Posted January 14, 2009 Share Posted January 14, 2009 clear:both is the way to go. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.