CSS Menu Bar with full width - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Menu Bar

Description

CSS Menu Bar with full width

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <style type="text/css">
#container {<!--from w w w.  j a v  a 2  s. c o m-->
   background:Chartreuse;
   width:100%
   min-width: 961px;
   margin:0 auto;
}

#container>span {
   display:block;
   padding:16px 0 16px 841px;
   color:yellow;
   font-size:15px;
   margin-bottom:31px;
}

#content {
   position:relative;
   background:blue;
   width:961px;
   height:100%;
   margin:0 auto;
}
</style> 
 </head> 
 <body> 
  <div id="container"> 
   <span>Lorem ipsum dolo</span> 
  </div> 
  <div id="content">
    Lorem ipsum dolor s 
  </div>  
 </body>
</html>

Related Tutorials