M
mark | r
anyone know hoe to centre a div both horizontally and vertically, i
currently use
#innerstage{position:absolute;top:50%;margin-top:-200px;left:50%;margin-left
:-370px;width:740px;z-index:20}
but am getting negative response from reviewers as the page doesn't decrease
in size gracefully(the content remains centred and disappears off the screen
at either edge instead of off to the left
margin:auto doesn't position vertically down the page
thanks
mark
currently use
#innerstage{position:absolute;top:50%;margin-top:-200px;left:50%;margin-left
:-370px;width:740px;z-index:20}
but am getting negative response from reviewers as the page doesn't decrease
in size gracefully(the content remains centred and disappears off the screen
at either edge instead of off to the left
margin:auto doesn't position vertically down the page
thanks
mark