title: How To Remove Vertical White Space between divs
body: <p>I am having some white space come up between my bordered divs, and I don't want it. Most of the solutions on here delt with divs that had other aspects like width and height, but mine are pure text.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.h1z1 {
    text-align: center;
  }
  .g1 h2, .g2 h2, .g3 h2 {
    padding: 10px;
    background-color: #ccffcc; 
  }
  .g1, .g2, .g3 {
    border-left: 6px solid #00ff00;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body style="font-family: 'Source Code Pro', monospace;"&gt;
    &lt;div class="header"&gt;&lt;/div&gt;
    &lt;div class="gtitle"&gt;
      &lt;h1 class="h1z1"&gt;Graphics Cards&lt;/h1&gt;
      &lt;hr /&gt;
    &lt;/div&gt;
    &lt;div class="g1"&gt;
      &lt;h2&gt;Titan XP&lt;/h2&gt;
    &lt;/div&gt;
    &lt;div class="g2"&gt;
      &lt;h2&gt;Titan X (Pascal)&lt;/h2&gt;
    &lt;/div&gt;
    &lt;div class="g3"&gt;
      &lt;h2&gt;GeForce GTX 1080ti&lt;/h2&gt;
    &lt;/div&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>