Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder kyllle's Avatar
    Join Date
    Mar 2008
    Posts
    334
    Thanks
    85
    Thanked 2 Times in 2 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

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,855
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    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%;
    */
    margin-left:31%;
    }
    You may refer http://bonrouge.com/2c-hf-fixed.php
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    kyllle (04-06-2009)

  • #3
    Regular Coder kyllle's Avatar
    Join Date
    Mar 2008
    Posts
    334
    Thanks
    85
    Thanked 2 Times in 2 Posts
    Hi abduraooft,

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

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,855
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    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.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #5
    Regular Coder kyllle's Avatar
    Join Date
    Mar 2008
    Posts
    334
    Thanks
    85
    Thanked 2 Times in 2 Posts
    Thanks abduraooft!! I have been reading your helpful link and I realise what I should be doing now!!!

    Many thanks again!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •