0

I want to make an overlay div cover the ENTIRE page... NOT just the viewport. my html code is as below

<div id="overlayview" style="position: absolute; z-index: 1004; top: 0px; left: 0px; height: 100%; width: 100%; display: none;"></div>
  • Use position:fixed – K K Aug 03 '18 at 05:07
  • 2
    Possible duplicate of [Allow a div to cover the whole page instead of the area within the container](https://stackoverflow.com/questions/18588835/allow-a-div-to-cover-the-whole-page-instead-of-the-area-within-the-container) – Akrion Aug 03 '18 at 05:30

0 Answers0