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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Empty white space after footer

    I am working on this site and on the bottom of the page there is a empty white space that just wont go away. I went to several validator sites to check but that white space still shows up. HELP!

    Heres the URL to the page: http://www.wguanxi.com/test.php

    If you scroll to the bottom you'll see that after the footer there is a empty white space.

    Help and thank you !


  • #2
    Regular Coder
    Join Date
    Jul 2010
    Posts
    271
    Thanks
    3
    Thanked 40 Times in 40 Posts
    Your CSS has a 300px height on the footer

    .footer {
    background-color: #171717;
    width: 100%;
    height: 300px;

  • #3
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,387
    Thanks
    32
    Thanked 288 Times in 282 Posts
    Code:
    /* in common.css */
    body {
    	font-family: "lucida grande",tahoma,verdana,arial,sans-serif;
    	font-size: 11px;
    	color: #333333;
    	background-color:#ffffff;
    	margin:0px;
    	padding:0 0 50px 0;    
    }
    You do know that padding adds space, right?
    For every complex problem, there is an answer that is clear, simple, and wrong.


  •  

    Posting Permissions

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