powergenerator0888
New Member
I'm using this CSS to postion a div horizontally and vertically to the window which works fine until you scroll down the page, then the div remains in the same centred position as if the page hadn't been scrolled.\[code\]width:600px;height:300px;position:absolute;left:50%;top:50%;margin:-150px 0 0 -300px;z-index:99;\[/code\]Can this be done using CSS?