Monday, January 23, 2012

Centrate div with css

#warning {
width:740px;
left:50%;
top:100px;
margin-left:-370px;
position:fixed;
z-index:10000;
}

//fix for ie6
* html #warning {position:absolute;}

No comments:

Post a Comment