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 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2006
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Footer won't clear in IE6

    Hello,
    I am using a 2 col layout with a footer thats set to clear both.
    Problem is it completely ignores my sidebar in IE6, Mozilla is fine.
    The problem arises when the #sidebar is longer than the #content the footer comes up and into the #sidebar in IE6.

    Any help would be fantastic as I just can't seem to sort it out.

    * {
    margin: 0px;
    padding: 0px;
    }

    body {
    font-family: "Trebuchet MS";
    font-size: 10px;
    }

    #header {
    background-color: #FFFFCC;
    height: 5em;
    margin-bottom: 5px;
    }

    #content {
    float: right;
    font-size: 1.2em;
    margin-bottom: 0.5em;
    background-color: #FFCC99;
    margin-left: 0px;
    margin-right: 0px;
    text-align: left;
    padding-top: 0em;
    padding-right: 3em;
    padding-left: 16em;

    #sidebar {
    float: left;
    width: 15.5em;
    font-size: 1.2em;
    margin-bottom: .5em;
    margin-right: -16em;
    background-color: #CCCCCC;
    margin-left: 0px;

    #footer {
    background-color: #003399;
    clear: both;
    margin-top: 1em;

    Much appreciated,
    Ferellie

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Post your html as well please.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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