Hi,
I made a website, and there is a small problem. The wrapper div is positioned absolute in order to keep it at the centre of the page, but with this, the problem is, if the height of the screen is reduced, the upper portion of the page gets cut and can not be reached with scrolling.
The wrapper div's css is here:
Is there any solution to this problem?
I made a website, and there is a small problem. The wrapper div is positioned absolute in order to keep it at the centre of the page, but with this, the problem is, if the height of the screen is reduced, the upper portion of the page gets cut and can not be reached with scrolling.
The wrapper div's css is here:
Code:
#wrapper {
position: absolute;
top: 50%;
left: 50%;
width: 900px;
height: 650px;
padding-top: 30px;
margin: -325px auto auto -450px;
background: #333 url(images/bg2.jpg) no-repeat center 80px;
}
Comment