float problems in IE5/Mac

Discussion in 'HTML' started by Fredo Vincentis, Nov 22, 2003.

  1. I have moved on from designing all my websites in tables to creating layout
    with css and I am almost happy with it. The only problem I encounter again
    and again is that my sites don't work in IE5 on the Macintosh, due to a
    problem with float.

    In general this is what happens:

    I use float to create a two-column design: float one div on the left, the
    other on the right. IE5/Mac for some reason decides not to put the two DIVs
    next to eachother, but push the second DIV to the bottom (right aligned, but
    below the left aligned DIV).

    Here an example of one of the pages:

    http://www.terra-mia.com/version2/

    If anybody knows how to solve this problem, I would really appreciate your
    help!

    Thanks!
     
    Fredo Vincentis, Nov 22, 2003
    #1
    1. Advertisements

  2. Fredo Vincentis

    Nico Schuyt Guest

    Fredo Vincentis wrote:
    > I use float to create a two-column design: float one div on the left,
    > the other on the right. IE5/Mac for some reason decides not to put
    > the two DIVs next to eachother, but push the second DIV to the bottom
    > (right aligned, but below the left aligned DIV).


    I had the same problem some time ago. Solved it by adding clear: both to a
    div box that contained two other boxes.
    Nico
     
    Nico Schuyt, Nov 22, 2003
    #2
    1. Advertisements

  3. Fredo Vincentis

    Kris Guest

    In article <3fbf52ea$0$216$>,
    "Nico Schuyt" <> wrote:

    > Fredo Vincentis wrote:
    > > I use float to create a two-column design: float one div on the left,
    > > the other on the right. IE5/Mac for some reason decides not to put
    > > the two DIVs next to eachother, but push the second DIV to the bottom
    > > (right aligned, but below the left aligned DIV).

    >
    > I had the same problem some time ago. Solved it by adding clear: both to a
    > div box that contained two other boxes.


    As I recall, that's another thing. My experience is that floated
    elements inside an element that has the clear property set
    (left/right/both), sometimes act wrong in IE5/Mac.

    --
    Kris
    erlands (nl)
     
    Kris, Nov 22, 2003
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lau Lei Cheong

    Viewstate support in Mac IE5

    Lau Lei Cheong, Mar 8, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    638
    Lau Lei Cheong
    Mar 9, 2005
  2. RedLine

    table borders for Mac/IE5

    RedLine, Jun 23, 2003, in forum: HTML
    Replies:
    1
    Views:
    1,136
    RedLine
    Jun 23, 2003
  3. Nico Schuyt

    Layout problem in IE5.1/Mac

    Nico Schuyt, Sep 24, 2003, in forum: HTML
    Replies:
    6
    Views:
    696
    Nico Schuyt
    Sep 25, 2003
  4. Fredo Vincentis

    image align stuffed in IE5/Mac

    Fredo Vincentis, Nov 9, 2003, in forum: HTML
    Replies:
    0
    Views:
    549
    Fredo Vincentis
    Nov 9, 2003
  5. chlori

    float:left in IE5

    chlori, Apr 17, 2004, in forum: HTML
    Replies:
    6
    Views:
    675
    Richard
    Apr 18, 2004
  6. Tom
    Replies:
    0
    Views:
    1,178
  7. Carsten Fuchs
    Replies:
    45
    Views:
    2,291
    James Kanze
    Oct 8, 2009
  8. Cylix

    Problem on float menu in Mac IE5+

    Cylix, Jun 13, 2006, in forum: Javascript
    Replies:
    2
    Views:
    133
    Cylix
    Jun 13, 2006
Loading...