Results 1 to 2 of 2

Thread: Having problems with a footer - can someone help?

  1. #1
    Join Date
    May 2003
    Location
    Canada
    Posts
    218

    Having problems with a footer - can someone help?

    Okay, I'm <a href="http://chandelleproductions.com/new" target="_blank">really stumped</a>.

    In IE: it looks perfect, except that there is a huge gap between the end of the main content area and the footer. I have no clue why. I've included heights, removed all heights, there's no bottom positioning, it doesn't make sense.

    In Firefox: same thing, except on top of that, the main content area's background doesn't repeat after a certain point. Why?

    PHP Code:
    /* Overall CSS */

    * {
        
    margin0;
        
    padding0;
    }

    body {
        
    background#464646 url(images/mainbg.jpg) repeat-x fixed 0 0;
        
    margin0;
        
    padding0;
        
    text-aligncenter;
        
    color#4b4552;
        
    font-familygeorgiagaramondtimes new romanserif;
        
    font-size15px;
    }

    div {
        
    padding0;
        
    margin0;
    }

    img {
        
    border0;
    }

    {
        
    line-height18px;
        
    padding-bottom15px;
    }

    /* CSS For the Main Layouts */

    #contentContainer {
        
    width800px;
        
    margin:0 auto;
        
    positionrelative;
        
    top190px;
        
    text-aligncenter;    
    }

    #mainContent{
        
    margin0;
        
    width800px;
        
    text-alignleft;
        
    background:url("images/repBg.jpg"repeat-y;
    }

    #header
    {
        
    min-width800px
        
    width100%; 
        
    positionabsolute;
        
    top25px;
        
    left0px;
        
    height233px;
        
    text-aligncenter;
    }

    .
    center {
        
    text-aligncenter;
    }

    #menu {
        
    position:relative;
        
    top0;
        
    z-index1;
        
    font-size15px;
        
    height25px;
        
    margin:0 auto;
        
    left140px;
    }
          
    #menu ul {
          
    margin:0;
          
    padding:1px 10px 0;
          list-
    style-type:none;
    }
    #menu li {
          
    float:left;
          
    background:url("images/tabLeft.gif"no-repeat left bottom;
          
    margin:0;
          
    padding0 1px 0 10px;
          list-
    style-type:none;
          
    }
    #menu a {
          
    float:left;
          
    display:block;
          
    width:.1em;
          
    background:url("images/tabRight.gif"no-repeat right bottom;
          
    padding2px 16px 4px 6px;
          
    text-decoration:none;
          
    font-weight:bold;
          
    color:#765;
    }
    #menu > ul a {width:auto;}
        /* Commented Backslash Hack hides rule from IE5-Mac \*/
        #menu a {float:none;}
        /* End IE5-Mac hack */
        #menu a:hover {
          
    color:#333;
          
    }
        
    #home #nav-home, #about #nav-about,
        #services #nav-services, #entertainers #nav-entertainers,
        #contact #nav-contact, #links #nav-links {
          
    background-positionleft top;
           
    padding0 1px 0 10px;
          }
         
    #home #nav-home a, #about #nav-about a,
        #services #nav-services a, #entertainers #nav-entertainers a,
        #contact #nav-contact a, #links #nav-links a {
          
    background-positionright top;
         
    padding2px 16px 4px 6px;
          
    color:#333;
          
    }
        
    #menu li:hover, #header li:hover a {
          
    background-positionleft top;
          
    padding0 1px 0 10px;
          
    color:#333;
          
    }
        
    #menu li:hover a {
          
    background-positionright top;
          
    padding2px 16px 4px 6px;
    }

    #footer {
        
    width800px;
         
    background:url("images/bottomBg2.jpg"no-repeat;
        
    font-size12px;
        
    clearboth;
        }

    #topMain {
        
    z-index0;
    }
    #text {
        
    positionrelative;
        
    top: -446px;
        
    z-index45;
        
    padding0 65px 15px 50px;
    }

    #contentBar {
        
    floatright;
        
    width450px;
        
    padding0;
        
    top0;
        
    positionrelative;
    }

    #sidebar {
        
    floatleft;
        
    width200px;
        
    text-aligncenter;
        
    top0;
        
    positionrelative;
    }

    blockquote.withquote {
        
    color#4e0473;
        
    font-size21px;
        
    line-height20px;
        
    padding-bottom20px;



    #sidebar h3 {
        
    font-size14px;
        
    font-weightbold;
        
    text-alignleft;
        
    line-height16px;
        
    padding15px 0 0 12px;
    }

    #sidebar h2 {
        
    font-size15px;
        
    font-weightbold;
        
    text-alignleft;
        
    line-height17px;
        
    padding0 0 10px 12px;
    }

    #sidebar p {
        
    font-size12px;
        
    line-height15px;
        
    text-alignleft;
        
    padding0 0 10px 12px;
    }

    #sidebar img {
        
    border0px;
        
    padding10px;
    }

    #sidebar ul {
        
    text-alignleft;
    }

    h2 {
        
    font-size17px;
        
    line-height20px;
        
    padding-bottom8px;
        
    padding-top15px;
    }
    h3 {
        
    font-size15px;
        
    line-height18px;
        
    padding-bottom8px;
        
    padding-top15px;
    }
    ul {
        
    padding-left50px;
        
    font-familygeorgiagaramondtimes new romanserif;

    Any help is much appreciated. I've tried margins, paddings, heights, nothing has worked so far. I don't know what on earth is going wrong. Thanks!!
    || t · creative ||

    "The public is more familiar with bad design than good design. It is, in effect, conditioned to prefer bad design, because that is what it lives with. The new becomes threatening, the old reassuring."
    - Paul Rand

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    http://chandelleproductions.com/new just produces an error or page not found or prohibited access.

    http://www.chandelleproductions.com/ shows a page which looks good in IE6 and Firefox - no large gap at the bottom and the background repeats OK. Am I looking at the correct page?

    I can't comment until I see the html.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Posting Permissions

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