html { height: 100%; display: block; } body { background-color:black; height: 100%; width:100%; margin: 0; padding: 0;} #sfondo {position:fixed; top:0; left:0; width:100%; height:100%; z-index:-1; } #header { width: 100%; top: 0; left: 0; position: fixed } footer { background-color:black; width: 100%; bottom: 0; left: 0; position: fixed } p { color: green; } p:hover { color: yellow; }