SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    Non-Member
    Join Date
    Jan 2004
    Location
    Seattle
    Posts
    4,328
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Firefox versus Float Right

    If you look at http://www.geoworld.org/index.php with Internet Explorer, you'll see a table listing the continents and oceans on the left side of the page and half a globe on the right side of the page, with text floating in between. I used CSS to make the table float left, then I sliced the globe into several pieces and made them float right. It works fine.

    But if you look at the same page with Mozilla Firefox, the globe is positioned below the table, not opposite it. I don't have a clue about how to fix this.

    Any suggestions?

    Oops, I almost forgot my CSS style. This is it:

    img.worldpiece { float: right; clear: both; }

    If I change it to this...

    img.worldpiece { float: right; }

    then Firefox pulls the pieces UP into position, but they they're all jumbled against each horizontally, with some pushed far away from the right side of the page.

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2004
    Posts
    1,647
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    im used to do that way...
    Code:
    <td width="600"><div style="float:right">content</div>content</td>
    cheers


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
  •