Align text and images in footer - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Footer

Description

Align text and images in 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">
#footerwrap {<!--  w  w w . j a  v  a 2  s.  co  m-->
   width:1001px;
   float:left;
   margin:0 auto;
   clear:both;
}

#footer {
   height:31px;
   background:Chartreuse;
   border-radius:11px;
   border:2px solid yellow;
   margin:0px auto;
   text-align:center;
   color:blue;
}

#footer a {
   color:pink;
   text-decoration:none;
}

#footer a:hover {
   color:OrangeRed;
   text-decoration:underline;
}

#footer a:visited {
   color:grey;
   text-decoration:underline;
}

.bar {
   font-size:16px;
}

#footer .copyright ul {
   list-style:none;
   margin:0px 0px 0px;
   padding:4px;
   float:right;
   margin-left:6px;
}

#footer .copyright img {
   border:0px;
}

#footer .copyright {
   color:BlueViolet;
   line-height:33px;
   margin-left:6px;
   margin-top:0px;
   text-align:center;
}
</style> 
 </head> 
 <body> 
  <div id="footerwrap"> 
   <div id="footer"> 
    <div class="copyright">
      Lorem ipsum d 
     <span class="bar">L</span>Lorem ipsum dolor 
     <span class="bar">L</span>Lorem ipsum 
     <a href="http://www.website.com" target="_blank">Lorem i</a> 
     <span class="bar">L</span>Lorem ipsum dolor sit 
     <a href="https://www.facebook.com" target="_blank" title="Facebook"> <img src="https://www.java2s.com/style/demo/Firefox.png"> </a> 
    </div> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials