HTML CSS examples for CSS Widget:Footer
Vertically center logos on footer
<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>