Page Widget How to - Add logo and navigation bar sections to footer








Question

We would like to know how to add logo and navigation bar sections to footer.

Answer


<!DOCTYPE html>
<html lang="en">
<head>
<!--from   w  w  w  .  j a  v a 2s .  c  o  m-->
<style media="all">
html, body {height: 100%; margin: 0; padding: 0;}

* html #outer {/* ie6 and under only*/
    height:100%;
}

.wrapper {
    min-height: 100%;
    margin: -240px auto 0;
}

.content {padding-top: 240px;}

.footer {
    height: 240px; 
    background: #F16924; 
    position: relative;
}

#print_blank {
    padding-top: 0px;
    bottom: 160px;
    position: absolute;;
    z-index: 11000;
    width: 100% !important;
    text-align: center;
    min-width: 980px;
}
#logo {
    width: 180px;
    padding-top: 5px;
    bottom: 86px;
    position: absolute;;
    z-index: 9999999;
    left: 45px;
}
#nav_bar {
    padding-top: 0px;
    bottom: 77px;
    position: absolute;;
    z-index: 99999;
    width: 100% !important;
    text-align: center;
    min-width: 980px;
}
#footerarea {
    bottom: 0px;
    position: absolute;
    width: 100%;
    padding-top: 20px;
    background-color: #F16924;
    height: auto;
    text-align: justify;
    min-width: 960px;
    z-index: 999999;
}

</style>

</head>
<body>

    <div class="wrapper">
       <div class="content">Juicy stuff goes here</div>
       <div class="push">Push</div>
    </div>
    <div class="footer">
       <div id="print_blank"></div>
       <div id="logo">Logo</div>
       <div id="nav_bar">nav bar</div>
       <div id="footerarea">Contains other Text</div>
    </div>

</body>
</html>

The code above is rendered as follows: