View Full Version : floats messing up in ie 6?

Apr 6th, 2009, 03:36 PM
Hi all,

Iv created the following page link to page (http://www.glen-lodge.co.uk/testing/specials/index.html) The page views great in ie 7 and ff but when tested in ie 6 the floats seem to drop, is there any advice you can give me to correct this problem or any web pages I could ref?

Many thanks in advance!!


Apr 6th, 2009, 03:53 PM
That's no the right way to create a 2-column layout using float.
Have a try by

.colRight {/*tyle.css (line 86)*/

You may refer http://bonrouge.com/2c-hf-fixed.php

Apr 6th, 2009, 04:08 PM
Hi abduraooft,

Why is this not right? Is it a bad idea to use percentages?

Apr 6th, 2009, 04:31 PM
Why is this not right? Is it a bad idea to use percentages? You don't have to apply width+float on both columns to make a 2 column layout. Insteasd, just apply a float+width on a single one(preferably the smaller one, for which applying a fixed width won't be an issue), and then apply a suitable margin-left/right to the other, depending upon the position of the former one.

Apr 6th, 2009, 04:37 PM
Thanks abduraooft!! I have been reading your helpful link and I realise what I should be doing now!!!

Many thanks again!