Question about centering a Div .

Posted by Sakti on Stack Overflow See other posts from Stack Overflow or by Sakti
Published on 2010-06-10T06:37:46Z Indexed on 2010/06/10 6:42 UTC
Read the original article Hit count: 157

Filed under:
div
{
margin:90px auto;
}

This code centers the div in chrome with a top margin of 90px, but the results are different in all other browsers ..

is there a common method to center the div and have a top margin at the same time ?

© Stack Overflow or respective owner

Related posts about css