CodePen

HTML

            
              
<div class="center">
  <div id="menu_container">This would be a menu</div>
  <div id="major-wrap">This would be some content<div>
</div>
            
          
!

CSS

            
              .center { margin:0 auto; width:700px }

#menu_container { background:red; height:50px; position:fixed; display:block; width:700px; overflow:hidden }

#major-wrap { height:600px; width:700px; display:block; overflow:hidden; background:purple; margin-top:100px }
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................