div center does not work for IE

Posted by Jean on Stack Overflow See other posts from Stack Overflow or by Jean
Published on 2010-05-31T09:10:11Z Indexed on 2010/05/31 9:12 UTC
Read the original article Hit count: 400

Filed under:
|
|

Hello,

I have this css

position:relative;
margin: 0 auto;
top:50%;
width:15px;
height:15px;
background-color:#fff;
-moz-border-radius: 15px; 
-webkit-border-radius: 15px;
cursor:pointer;

Its centering fine on chrome and stays on top for IE and ff.

removed and changed position:

whats wrong here?

Thanks Jean

© Stack Overflow or respective owner

Related posts about css

Related posts about css-layout