JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title></title>
<link rel="stylesheet" type="text/css" media="screen" href="css/styles.css" />
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type='text/javascript' ></script>
</head>
<body>
<div id='main-container'>
<div class='box' id='topleft'></div>
<div class='box' id='topright'></div>
<div class='box' id='bottomleft'></div>
<div class='box' id='bottomright'></div>
<div id='deadcenter'></div>
</div>
</body>
</html>
CSS
html{height:100%; width:100%;}
html body{ margin:0px; padding:0px;}
#deadcenter{
position:absolute;
top:50%;
width:980px;
height:1px;
background:blue;
}
#main-container{
border:1px solid black;
width:980px;
height:700px;
margin:0 auto;
position:relative;
top:20px;
}
.box{
width:100px;
height:100px;
background:gray;
border:2px solid #696969;
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box;
}
#topleft{
position:relative;
margin:0 auto;
top:50%;
left:50%;
margin-top:-110px;
margin-left:-110px;
}
#topright{
position:relative;
margin:0 auto;
top:50%;
left:50%;
margin-top:-110px;
margin-left:10px;
}
#bottomleft{
position:relative;
margin:0 auto;
top:50%;
left:50%;
margin-top:10px;
margin-left:10px;
}
#bottomright{
position:relative;
margin:0 auto;
top:50%;
left:50%;
margin-top:10px;
margin-left:-110px;
}