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