IE text wrap problem - FF working fine

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nicky77
    New Member
    • Aug 2007
    • 25

    IE text wrap problem - FF working fine

    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 http://www.antoninesportscentre.co.u...ePractice.html
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    '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)

    Comment

    • nicky77
      New Member
      • Aug 2007
      • 25

      #3
      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>

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        Ok but, remember, max-width still doesn't work in IE; only modern browsers.

        Comment

        Working...