Fill banner with the color - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Banner

Description

Fill banner with the color

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">

div.WhiteZone{<!--   w ww. j  a  v  a2 s . co m-->
   color:#000000;
   background-color:#ffffff;
   overflow:hidden;
}
div.Box{
   padding:0px;
   text-align:center;
   float:left;
}
div.Left{
   width:300px;
   padding-top:5px;
   padding-bottom:15px;
   text-align:center;
   color:#000000;
   background-color:#ffffff;
   clear:both;
}
div.Right{
   width:300px;
   padding-top:5px;
   text-align:left;
   color:#000000;
   background-color:#ffffff;
   clear:both;
}


      </style> 
 </head> 
 <body bgcolor="black"> 
  <div class="WhiteZone"> 
   <div class="Box"> 
    <div class="Left">
      abcdefg 
     <br> opqrstu 
    </div> 
   </div> 
   <div class="Box"> 
    <div class="Right">
      hijklmn 
    </div> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials