Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Feb 2004
    Location
    Scotland
    Posts
    135
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Image floating problems in IE.

    Hey there.

    I redesigned my website the other day and discovered a very annoying bug in IE.

    In FF, the first news post appears as:

    Welcome to the new look Game HideOut!

    We guide you through the latest design and sections of the site.
    But in IE only:

    Welcome to the new look Game HideOut!
    appears. The rest of the text is still there as you can highlight it and it appears, but how would the user know to do that? I've pinned this problem down to the floating image. The <img /> tag has been placed before the text and floated to the right.

    If I put it after the text the problem goes away but obviously the image appears beneath the text instead of beside. If I put the image in its own <div> I would have to give the <div> a width, but seeing as the images vary in width then this is a problem.

    So what can I do?

  • #2
    Regular Coder
    Join Date
    Jan 2004
    Location
    Port Huron, MI, U.S.A.
    Posts
    280
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Not sure if I quite understand, but you could try putting the img in it's own div, but instead of setting it's width to someting definite, set it as display:inline and it will (or should...) conform to the width of the img
    Oh, was I supposed to put something here? ........

  • #3
    Regular Coder
    Join Date
    Feb 2004
    Location
    Scotland
    Posts
    135
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It's cool. It was because I hadn't floated the text


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •