.header{ position:fixed; margin-top:0; width:100%; z-index:9999; } .body{ position:relative; padding-top:119px; width:100%; } .top{ position: fixed; top: 0px; z-index:9999; }