Vertically center logos on footer - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Footer

Description

Vertically center logos on footer

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
.red {<!--from   w  ww  .  j  ava  2s .  c  o m-->
   background-color:Chartreuse;
}

.blue {
   background-color:yellow;
}

.inner {
   float:left;
}

.innerwrap {
   display:inline-block;
}

#container {
   width:81%;
   margin:0 auto;
   text-align:center;
   background:gray;
}

#clear {
   clear:both;
}
</style> 
 </head> 
 <body> 
  <div id="container"> 
   <div class="innerwrap"> 
    <div class="inner red">
      Lorem 
    </div> 
    <div class="inner blue">
      Lorem 
    </div> 
   </div> 
   <div id="clear"></div> 
  </div>  
 </body>
</html>

Related Tutorials