float problems in IE5/Mac

F

Fredo Vincentis

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!
 
N

Nico Schuyt

Fredo said:
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
 
K

Kris

Nico Schuyt said:
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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top