popup box will appear while clicking on a link.I need to enable the scroll for the parent page
.For small screen laptops pop up is not able to view properly ,i cant do anything about the height of the popup . I want to enable the scroll .
.popup{
display: block;
z-index: 1002;
outline: 0px;
position: fixed;
height: auto;
width: 730px;
top: 209px;
left: 259px;
}
Pop up boxes are generally set to
position: absolute;which are out of the document flow, so instead of usingfixed, useabsolute, even stackoverflow flag box uses absolute, as it doesn’t get scrolled with the page, perhaps the browser shows scroll if your element is overflowing out of your defined width’s if you set it toposition: absolute;, just be sure you are not usingoverflow: hidden;may be for clearing floats, useclear: bothinstead and you should see the scroll bar