Sign up to create your own snipts, or login.

Public snipts » frusdelion's snipts » Issue with vertical-align. temporarily using propietary browser elements.

posted on Dec 23, 2009 at 9:06 a.m. EST in 
  • <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style>
    #wrapper {
    	display:inline;
    	vertical-align:middle;
    	width:100%;
    	height:100%;
    }
    
    #container {
    	margin:auto;
    	height:465px;
    	width:960px;
    	-moz-box-shadow:0 1px 10px #777;
    	-moz-border-radius:10px;
    }
    </style>
    </head>
    
    <body>
    <div id="wrapper">
    <div id="container">
    </div>
    </div>
    </body>
    </html>
    

    copy | embed

0 Comments

Sign up, or login to leave a comment.