Footer cover full width for two column layout - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Footer Column

Description

Footer cover full width for two column layout

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <style type="text/css">
html,body {
   height:100%;
   width:100%;
   margin:0;
   padding:0;
   background-color:Chartreuse;
}

#Header,#Article,#Aside,#Footer {<!--from ww  w.  j  a v a 2s.c  o  m-->
   position:absolute;
}

#Header {
   top:0;
   left:0;
   width:100%;
   height:61px;
   background-color:yellow;
}

#Article,#Aside {
   top:61px;
   overflow:auto;
   bottom:31px;
}

#Article {
   left:0;
   width:71%;
   background-color:blue;
}

#Aside {
   right:0;
   width:31%;
   background-color:pink;
}

#Footer {
   bottom:0;
   left:0;
   width:100%;
   height:31px;
   background-color:OrangeRed;
}
</style> 
 </head> 
 <body> 
  <div id="Header">
    Lorem ip 
  </div> 
  <div id="Article">
    Lorem ips 
  </div> 
  <div id="Aside">
    Lorem i 
  </div> 
  <div id="Footer">
    Lorem ip 
  </div>  
 </body>
</html>

Related Tutorials