* { margin: 0; padding: 0; } body { background-color: black; color: white; } .container { text-align: center; } img, #text { vertical-align: middle; } img { z-index: 1; } #previous { position: absolute; bottom: 0px; left: 0px; z-index: 2; } #next { position: absolute; bottom: 0px; right: 0px; z-index: 2; } #close { position: absolute; top: 0px; right: 0px; z-index: 2; } #linkbg1, #linkbg2, #linkbg3 { display: block; position: absolute; top: 0px; right: 0px; width: 100%; height: 100%; background-color: black; } #linkbg2 { z-index: -1; } #linkbg3 { z-index: -1; } #preload { position: absolute; left: -2000px; top: -2000px; width: 1px; height: 1px; /* left: 10px; top: 10px; width: 20px; height: 20px; */ } /* IE5/6 madness */ html { overflow: hidden; } body { height: 100%; }