/ Published in: CSS
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
.center {
position: absolute;
top:0; right:0; bottom:0; left:0;
margin: auto;
left:expression(this.parentNode.clientWidth/2 - this.clientWidth/2 " px");
top:expression(this.parentNode.clientHeight/2 - this.clientHeight/2 " px");
width: 60%;
height: 60%;
}
URL: http://valums.com/vertical/
Comments
 Subscribe to comments
                    Subscribe to comments
                
                