Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > float problems in IE5/Mac

Reply
Thread Tools

float problems in IE5/Mac

 
 
Fredo Vincentis
Guest
Posts: n/a
 
      11-22-2003
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!


 
Reply With Quote
 
 
 
 
Nico Schuyt
Guest
Posts: n/a
 
      11-22-2003
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


 
Reply With Quote
 
 
 
 
Kris
Guest
Posts: n/a
 
      11-22-2003
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)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
float to string to float, with first float == second float Carsten Fuchs C++ 45 10-08-2009 09:47 AM
operator== (float, float) Jukka Lehtonen C++ 5 08-05-2004 08:28 AM
need code to convert float format to internal java float format which is kept in 4 bytes integer Andy Java 7 05-10-2004 09:26 PM
static_cast<float>(a) versus float(a) Jim West C++ 4 01-16-2004 12:36 PM
Re: float->byte->float is same with original float image. why float->ubyte->float is different??? bd C Programming 0 07-07-2003 12:09 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57