title: Right-align two divs
body: <p>Using CSS, is it possible to right-align two DIVs?</p>
  
  <p>I have a title and I want to right-align a more link underneath it. The site is internal and so, unfortunately, IE7 is the primary browser. (We will upgrade to IE8 before the end of the year, and some are using Chrome). I'd like to avoid javascript, but I'm open to it.</p>
  
  <p>The title changes, so absolute widths won't work. It should look something like this:</p>
  
  <pre class="lang-none prettyprint-override"><code>| Arbitrarily long title text
  |                     more...
  </code></pre>
  
  <p>I've been all over the Googles looking for a solution, but everything I've found so far relates to right-aliging the content of a DIV, or to right-aligning a DIV to the page, or right-aligning a DIV within an absolutely sized DIV.</p>
  
  <p>I can show you my efforts so far, but as none of them work, I don't think they're of much use.</p>
  
  <pre><code>&lt;html&gt;
      &lt;body&gt;
  
          &lt;div style="float:left;"&gt;
              Arbitrarily long title
              &lt;div style="float:right"&gt;more...&lt;/div&gt;
          &lt;/div&gt;
  
          &lt;div style="width:0px; overflow:visible; white-space:nowrap;"&gt;
              Arbitrarily long title
              &lt;div style="float:right"&gt;more...&lt;/div&gt;
          &lt;/div&gt;
  
          &lt;!-- This sort of simulates what I want, but the title length is arbitrary and I don't want to have to measure the text --&gt;
          &lt;div style="width:120px;"&gt;
              Arbitrarily long title
              &lt;div style="float:right"&gt;more...&lt;/div&gt;
          &lt;/div&gt;
  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>If anyone knows of a duplicate question, I'd love to learn the secrets of your Google-fu!</p>
  
  <p><strong>EDIT</strong><br>
  Image, as requested. The link is bordered with red. (I had to set the margin-left to 70px to achieve this affect.)</p>
  
  <p><img src="https://i.stack.imgur.com/v8Kva.jpg" alt="enter image description here"></p>