I want the div to sit in the middle of the page vertically as well as horizintally. Im looking for a css solution. I took out the margin and margin-top because they messed with the header I have.
/* CSS */
.mainDiv {
  background: #fff;
  padding: 20px;
  width: 450px;
  margin: auto;
  /*margin: 0px auto;
  margin-top: 200px;*/
  box-shadow: 0 0 20px #333;
}<!-- HTML -->
<div class="mainDiv" align="right">
  <h1 align="left">Firebase Web App</h1>
  <textarea placeholder="Enter text here ..."></textarea>
</div>FIDDLE
 
     
     
     
     
    