Forum Moderators: not2easy

Message Too Old, No Replies

Float and Table problem in IE

         

MacArthur

6:30 pm on May 1, 2008 (gmt 0)

10+ Year Member



Hi all,

Greatly appreciated if somebody can help on this: I have a DIV that floats to the right of my #content DIV, and inside #content there's a <table>. The problem is that, in IE6/IE7, when the width of the table + float over 100% (a.k.a. they are stepping onto each other), then the table will start at the bottom of the right-floating DIV.

It's like this in IE6/IE7:

z #content z z #float z
z unwanted z z ...... z
z white... z z ...... z
z space... z z ...... z
z ........ z zzzzzzzzzz
z Table .. z
z Starts.. z
z Here.... z
zzzzzzzzzzzz

In Firefoz it is displayed side by side, as supposed to be.

z Content. z zzzzzzzzz
z Table... z z Float z
z Starts.. z z ..... z
z Here.... z z ..... z
z ........ z zzzzzzzzz
z .................. z
z .................. z
z .................. z
zzzzzzzzzzzzzzzzzzzzzz

I found an old thread on this forum, (http://www.webmasterworld.com/forum83/2158.htm) unfortunately, that solution failed to address my problem.

Any info would be appreciated!

[edited by: SuzyUK at 8:57 am (utc) on May 4, 2008]
[edit reason] fixed formatting [/edit]

MacArthur

6:32 pm on May 1, 2008 (gmt 0)

10+ Year Member



ahh, what happened to all the "x" ? this looks ugly. Anybody tells me how to EDIT my post? Thanks!