Results 1 to 2 of 2

Thread: stuck on getting the text to wrap around the photo in Mozilla

  1. #1
    Join Date
    Aug 2006
    Location
    Dubai, UAE
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default stuck on getting the text to wrap around the photo in Mozilla

    Seems to work just fine in IE 5.5+, however in Mozilla 1.5 the text just drops below the photo.

    Here is the page:
    http://www.sdtars.com/development/events/days.php

    Here is the sites CSS:
    http://www.sdtars.com/development/styles/layout.css

    Any help would be much appreciated.

    Thanks.

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by zeropsi
    Seems to work just fine in IE 5.5+, however in Mozilla 1.5 the text just drops below the photo.
    Which usually means you've done something wrong. MSIE isn't a reliable indicator of anything working properly.

    You're overusing floats, it would seem, and because you clear those floats for all paragraphs, the image and text should never appear horizontally adjacent.

    Just float the image right. I can see of no reason to float anything else in that region.

    Mike

Bookmarks

Posting Permissions

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