Prismatic Posted March 13, 2007 Share Posted March 13, 2007 I'm having some trouble laying a DIV over my page.. Basically what im trying to do (see other thread in javascript section) is make a kind of loading screen, which consists of a DIV that is above everything else and 100% width and height of site with a small picture in the middle that says Loading. My trouble is the div isn't layering over everything, It's sitting at the top of my page pushing all the site code down under it. You can see what im talking about in the attached picture (no it's not a porno site, it's blurred for confidentiality reasons). The code im trying is below, and im placing it directly under the <body> tag. <div id="NoClick" style="position:relative; width:100%; height:100%; z-index:1; background-image: url(Images/DisableBack.gif); layer-background-image: url(Images/DisableBack.gif); border: 1px none #000000; visibility: visible;"></div> Any ideas on how to get it to properly overlay across the page without pushing everything down? [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/42461-solved-overlay-a-div-over-entire-page/ Share on other sites More sharing options...
Prismatic Posted March 13, 2007 Author Share Posted March 13, 2007 Solved.. again. Quote Link to comment https://forums.phpfreaks.com/topic/42461-solved-overlay-a-div-over-entire-page/#findComment-206076 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.