Position header logo - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Header

Description

Position header logo

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <style>

#main-header<!--from w ww  . j a  va2s  . com-->
{
   height: 150px;
   background-color: white;
   text-align: center;
}

      </style> 
 </head> 
 <body> 
  <div id="main-header"> 
   <img src="https://www.java2s.com/style/demo/Firefox.png" alt="test" height="100" width="100"> 
   <header>
     Welcome to test! 
   </header> 
  </div>  
 </body>
</html>

Related Tutorials