Check this code..A full screen overlay using CSS code only....

http://www.corelangs.com/css/box/fulloverlay.html

charles