Results 1 to 2 of 2

Thread: help with float

  1. #1
    Join Date
    Jan 2010
    Posts
    115

    help with float

    On my home page I have two DIVs that float left to right but the problem is my CONTENT DIV dosen't come down all the way with it take a look http://answermyhw.webs.com/bantingriver.html

    HTML
    <div id="content">
    <div id="news"><span style="font-weight: bold;">Latest
    News <span style="color: rgb(153, 153, 153);">Oct 30 2010</span><br>
    </span>&nbsp;&nbsp;&nbsp;<small> news goes here</small><br>
    <br>
    </div>
    <div id="rules">
    <hr>
    <p>rules go here </p>
    <hr>
    </div>
    </div>
    CSS
    #rules {
    width: 400px;
    height: auto;
    float: right;
    }

    #news {
    width: 550px;
    height: auto;
    float: left;
    }
    #content {
    width: 986px;
    height: auto;
    background: white;
    overflow: inherit;
    padding:10px 5px 15px 5px;
    border-right: solid 2px;
    border-left: solid 2px;
    }

  2. #2
    Join Date
    Jan 2010
    Posts
    115
    oh never mind found the problem, I noticed the content's overflow is set to inherit so i changed it to auto

Similar Threads

  1. 2 column layout on PC shows as 1 column on mac
    By lverkeyn in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 12 Dec 2009, 07:41 PM
  2. Need help urgently! My site wont display properly in firefox!
    By maddog in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 28 Jul 2009, 10:42 AM

Posting Permissions

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