/ Published in: CSS
                    
                                        
How to center a div horizontable and vertical ... in short code.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
#deadCenter {
width: 700px;
height: 450px;
margin: -225px 0 0 -350px;
position: absolute;
top: 50%;
left: 50%;
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                