Web Analytics Made Easy -
StatCounter floats messing up in ie 6? - CodingForum

Announcement

Collapse
No announcement yet.

floats messing up in ie 6?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • floats messing up in ie 6?

    Hi all,

    Iv created the following page link to page 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!!

    Kyle
    www.kylehouston.com

  • #2
    That's no the right way to create a 2-column layout using float.
    Have a try by
    Code:
    .colRight {/*tyle.css (line 86)*/
    /*float:left;
    width:70%;
    */
    [ICODE]margin-left:31%;[/ICODE]
    }
    You may refer http://bonrouge.com/2c-hf-fixed.php
    Digitalocean Cloud Hosting (Referral link - get $10 free credit) Fameco

    Comment


    • #3
      Hi abduraooft,

      Why is this not right? Is it a bad idea to use percentages?
      www.kylehouston.com

      Comment


      • #4
        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.
        Digitalocean Cloud Hosting (Referral link - get $10 free credit) Fameco

        Comment


        • #5
          Thanks abduraooft!! I have been reading your helpful link and I realise what I should be doing now!!!

          Many thanks again!
          www.kylehouston.com

          Comment

          Working...
          X