Jump to content

Cant get footer to stay on the bottom of the container


Beryn

Recommended Posts

I have been learning php following tutorials, but im stumped. In the video he is able to have the container use a code to place the footer on the bottom of the site

 

Here is the code he used

 

body {
    background-color: #C4C4C4;
    
}

#header {
    background-color: #898989;
    width:  800px;
    color:  #FFFFFF;
    font-size:  18pt;
    border: 1px solid #000000;
    
}

#container{
  overflow: hidden;
    
}
#navigation {
    background-color: #454545;
    width:  179px;
    float: left;
    margin-bottom: -32767px;
    padding-bottom: 32767px;
    border-left: 1px solid #000000;
    border-right: 1px solid #898989;
    
}

#nav_div{
    padding: 10px;
    
}

#con_div{
    padding:  10px;
    
}
#content {
    background-color: #DDDDDD;
    width:  620px;  
    float: left;
    margin-bottom: -32767px;
    padding-bottom: 32767px;
    border-right: 1px solid #000000;
    
    
}
#footer {
    background-color: #898989;
    width:  800px;
    color: #FFFFFF;
    font-size: 12pt;
    border: 1px solid #000000;

    
    
}

 

 

Here is the link to his video

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.