Hi guys, can someone suggest where I'm going wrong with this css?
I'm trying to create an area in the centre of the page that will stretch vertically with the browser window to hold its content. The problem is that I just get a blank area between the top part and the footer which is aligned with the bottom of the page. I was under the impression that margins where the way to go, so why isn't it working?
Edit: You can see the page here.
Code:
#stretchMaking {
position:absolute;
margin-top:470px;
margin-bottom:32px;
left:0px;
background-image:url(../gfx/stretch_making.jpg);
background-repeat:repeat-y;
z-index:1;
}
I'm trying to create an area in the centre of the page that will stretch vertically with the browser window to hold its content. The problem is that I just get a blank area between the top part and the footer which is aligned with the bottom of the page. I was under the impression that margins where the way to go, so why isn't it working?
Edit: You can see the page here.