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

IE text wrap problem - FF working fine

P: 25
Hi, i'm having a problem wrapping text around an image in IE. Firefox works perfectly, with the image floating to the right, then the text displaying alongside the image until it gets beyond the image, where it spreads out to full width. In IE, the text displays alongside the image, however, when it reaches the bottom of the image it continues to stay at a narrow width until that paragraph is finished. This can look pretty poor if it is a long paragraph.

Any ideas how I can resolve this IE issue?

An example page is at
Jan 24 '08 #1
Share this Question
Share on Google+
3 Replies

Expert 5K+
P: 7,435
'max-height' and 'max-width' does not work in IE; only modern browsers. But IE treats 'height' and 'width' incorrectly, too. Try just setting height and width and see if that fixes it in old, buggy non-standard IE. (I don't have my Windows box for testing right now)
Jan 24 '08 #2

P: 25
Hi there thanks for the reply, I've managed to sort this by removing max-width on the <p> and moving it to the containing <div>
Jan 25 '08 #3

Expert 5K+
P: 7,435
Ok but, remember, max-width still doesn't work in IE; only modern browsers.
Jan 25 '08 #4

Post your reply

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