title: How to set 2nd div's left and top based on first div by CSS only
body: <p>I could position two div one after one. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#wrapper {
    margin-left: auto;
    margin-right: auto;
    height: auto;
    width: auto;
  }
  #inner1 {
    float: left;
    width: 200px;
    height: 200px;
    background-color: red;
  }
  #inner2 {
    width: 200px;
    height: 200px;
    float: left;
    clear: left;
    background-color: green;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="wrapper"&gt;
    &lt;div id="inner1"&gt;First One&lt;/div&gt;
    &lt;div id="inner2"&gt;Second One&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>but the things which I could not do is to set 2nd div left and top based on first div.</p>
  
  <p>I want to <code>set 2nd div top = 1st div height + 20 px by CSS</code> not by JavaScript</p>
  
  <p>same way I want to <code>set 2nd div left = 1st div left by CSS</code> not by JavaScript</p>
  
  <p>is it possible by css only which works in old browser too.</p>
  
  <p>discuss with sample code if possible. thanks</p>