dweb Posted June 30, 2013 Share Posted June 30, 2013 Hi I've got a HTML page which I use some CSS and jQuery to produce a CSS style overlay lightbox effect The code can be seen > http://jsfiddle.net/DQaHK/1/ The problem I have is that when the browser window height is resized, the overlay starts to disappear into the top and bottom of the browser window, with no way to see the contents of it. How can I alter my code, so that when the height of browser window is less than the height of the overlay div, then scroll bars show, allowing you to scroll to the top and bottom of the overlay div. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/279701-overlay-scroll/ Share on other sites More sharing options...
dalecosp Posted June 30, 2013 Share Posted June 30, 2013 Does overflow:scroll; in the CSS/style work for you? Quote Link to comment https://forums.phpfreaks.com/topic/279701-overlay-scroll/#findComment-1438615 Share on other sites More sharing options...
dweb Posted June 30, 2013 Author Share Posted June 30, 2013 nope, that doesn't work Quote Link to comment https://forums.phpfreaks.com/topic/279701-overlay-scroll/#findComment-1438630 Share on other sites More sharing options...
dweb Posted July 2, 2013 Author Share Posted July 2, 2013 any other ideas anyone? thanks Quote Link to comment https://forums.phpfreaks.com/topic/279701-overlay-scroll/#findComment-1439167 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.