title: Absolute alignment issue
body: <p>I have the following code:</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>#main {
         position: relative;
         top:100px;
         left:100px;
         height:200;
         width:600;
         border:solid;
         border-width:1px;
      }
      
      
      .rightContain {
         position:absolute;
         top:0;
         right:0;
         border:solid;
         border-width:1px;
         width:10px;
      
      }
      
      .selector {
         position: relative;
         margin:0;
         padding:0;
         border:solid;
         border-color:blue;
         border-width:1px;
      }
      .selector &gt; p {
         margin:0;
         padding:0;
         line-height:70%;
      }
      
      .selectorBox {
         border:solid;
         border-width:1px;
         width:60px;
         height:60px;
      }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
      &lt;head&gt;
      &lt;/head&gt;
      
      &lt;body&gt;
         &lt;div id="main"&gt;
            &lt;div class="rightContain"&gt;
               &lt;div class="selector"&gt;
                     &lt;p&gt;*&lt;/p&gt;
                     &lt;p&gt;*&lt;/p&gt;
                     &lt;p&gt;*&lt;/p&gt;
               &lt;/div&gt;
               &lt;div class="selectorBox"&gt;
                  item 
               &lt;/div&gt;
            &lt;/div&gt;
         &lt;/div&gt;
      &lt;/body&gt;
      &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I'm trying to get the .selectorBox top right corner to align to the bottom right of the .selector div. Does anyone know how I can achieve this?</p>
  
  <p><a href="https://i.stack.imgur.com/JfUF3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JfUF3.png" alt="enter image description here"></a></p>