By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
463,061 Members | 490 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 463,061 IT Pros & Developers. It's quick & easy.

Height of image greater than amount of text

P: 2
When you have an image set with text to the left or the right that does not fill up the entire area next to the picture, How do you force the next block of text to go below the picture? With tables you'd put the picture and the text that goes with it in the first row and the text that goes below in the second row. I don't know how to do this in CSS. The image shows the problem and what I am trying to do.

This is a generalized issue, so I would prefer not to hardcode min-height in the CSS file. Coding a min-height in the html would be fine. But, I couldn't figure out how to do that.

Nov 12 '06 #1
Share this Question
Share on Google+
1 Reply

P: 2
Forgot to mention that
Expand|Select|Wrap|Line Numbers
  1. <div style="min-height:290px">
works in Firefox, but not Internet explorer. Same for
Expand|Select|Wrap|Line Numbers
  1. <p style="min-height:290px">
I simply set the minimum height to the height of the image.
Nov 12 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.