SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Footer issues

  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2006
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Footer issues

    Could anyone please help identify how I can stop the this issues which appears in FF:
    http://www.houndsbaybassets.co.uk/gallery/artists.html

    As you will see the there are multiple sections <div class="artists"> within another div called mainbody1. As the length of the page increases is breaks through the footer when viewed in FF, but in IE6 all looks OK.

    How can I fix this?

    CSS below

    Many thanks

    body {
    font: 1em Verdana, Arial, Helvetica, sans-serif;
    margin: 0px;
    padding: 0px;
    background: #FFFFFF;
    }
    #wrapper {
    text-align: center;
    margin: 0px 0px 50px;
    height: 100%;
    }
    #body {
    width: 760px;
    margin: 20px auto auto;
    text-align: left;
    border: 1px solid #00CC66;
    height: 750px;
    }
    #header {
    height: 160px;
    margin-top: 0px;
    background: #FFFFFF url(../images/header.jpg) no-repeat 5px 5px;
    color: #000000;
    }
    #leftcolumn {
    height: 500px;
    width: 112px;
    color: #000000;
    margin: 25px 5px 5px 0px;
    padding: 5px 0px;
    border-right: 1px solid #00CC66;
    float: left;
    }
    #header h1 {
    color: #666666;
    font-size: 80%;
    width: 100%;
    float: left;
    text-align: center;
    margin: 0px;
    padding: 0px;
    font-style: italic;
    }
    #header img {
    position: relative;
    top: 0px;
    float: right;
    margin: 0px;
    padding: 0px;
    }
    #header p {
    color: #666666;
    font-size: 90%;
    padding: 10px 0px 0px 180px;
    margin: 0px;
    width: 365px;
    text-align: center;
    font-weight: bold;
    }
    #header a:link {
    text-decoration: none;
    border-bottom: 1px dotted #00CC66;
    color: #666666;
    background: #FFFFFF;
    }
    #header a:visited {
    text-decoration: none;
    border-bottom: 1px dotted #00CC66;
    color: #666666;
    background: #FFFFFF;
    }
    #header a:hover {
    border-bottom: 1px solid #00CC66;
    }
    #mainbody {
    width: 620px;
    float: right;
    color: #000000;
    margin-top: 25px;
    padding: 10px;
    font-size: 90%;
    }
    #mainbody h1 {
    font-size: 100%;
    font-weight: bold;
    text-decoration: underline;
    text-align: center;
    }
    #mainbody img {
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid #000000;
    float: left;
    }
    #mainbody h2 {
    font-size: 90%;
    font-weight: bold;
    text-align: left;
    margin: 0px;
    padding: 0px;
    }
    #mainbody1 {
    width: 620px;
    float: right;
    color: #000000;
    margin-top: 25px;
    padding: 10px;
    font-size: 90%;
    }
    #mainbody1 h1 {

    font-size: 100%;
    font-weight: bold;
    text-decoration: underline;
    text-align: center;
    }
    #mainbody1 img {

    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid #000000;
    float: left;
    }
    ul.leftcolumn {
    font: 90% Verdana, Arial, Helvetica, sans-serif;
    margin: 0px;
    padding-bottom: 24px;
    padding-left: 10px;
    list-style: none;
    padding-top: 10px;
    }
    #left {
    text-align: left;
    padding-left: 5px;
    position: relative;
    left: 0px;
    top: 0px;
    width: 300px;
    }
    ul.leftcolumn li {
    float: left;
    height: 30px;
    margin: 2px 0px 0px 2px;
    width: 100px;
    text-align: left;
    }
    ul.leftcolumn a:link, ul.leftcolumn a:visited {
    color: #666666;
    text-decoration: none;
    background: #FFFFFF;
    display: block;
    padding: 4px;
    }
    ul.leftcolumn a:hover {
    color: #000000;
    background: #00CC66;
    }
    #right {
    text-align: right;
    width: 300px;
    padding-right: 5px;
    position: relative;
    top: 0px;
    right: 0px;
    }
    #footer {
    font-size: 70%;
    color: #FFFFFF;
    width: 758px;
    margin: auto;
    background: #00CC66;
    padding: 2px;
    height: 26px;
    }
    #footer a:link {
    text-decoration: none;
    color: #FFFFFF;
    background: #00CC66;
    font-weight: bold;
    }
    #footer a:visited {
    text-decoration: none;
    color: #FFFFFF;
    background: #00CC66;
    font-weight: bold;
    }
    #footer a:hover {
    border-bottom: 1px solid #FFFFFF;
    }
    .artists {
    width: 615px;
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #00CC66;
    height: 220px;
    clear: both;
    }
    h3 {
    font-size: 80%;
    color: #000000;
    text-decoration: underline;
    margin: 0px;
    padding: 0px;
    }
    #w3c {
    text-align: center;
    }
    #w3c img {
    border-style: none;
    }
    .w3c {
    position: relative;
    left: 5px;
    top: 150px;
    }

  2. #2
    SitePoint Enthusiast
    Join Date
    Sep 2006
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorted it - thanks!

  3. #3
    Word Painter silver trophy Shyflower's Avatar
    Join Date
    Oct 2003
    Location
    Winona, MN USA
    Posts
    10,053
    Mentioned
    142 Post(s)
    Tagged
    2 Thread(s)
    add a class called clearonce and use it before you close your wrapper div.

    Code:
     .clearonce{
                clear:both;
                height: 1&#37;;
    }
    Code:
     <div class="clearonce">&nbsp;</div>
    Linda Jenkinson
    "Say what you mean. Mean what you say. But don't say it mean." ~Unknown


Bookmarks

Posting Permissions

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