title: Put element to the right side of a div
body: <p>I'd like to know how I can put these divs to the right side of the White div.
  <a href="http://prntscr.com/5jmm6q" rel="nofollow">http://prntscr.com/5jmm6q</a></p>
  
  <p>As you can see, it stacks under the left div, and I want it to be to the upper right side.
  When I use float:right, here is what I get:
  <a href="http://prntscr.com/5jmo1p" rel="nofollow">http://prntscr.com/5jmo1p</a></p>
  
  <p>That is not what I want :/</p>
  
  <p>Here is my CSS code:</p>
  
  <pre><code>#leftmenu {
      margin-left:5px;
      margin-top:5px;
      height:auto;
      width:150px;
      background-color:gray;
      padding:2px;
  }
  
  #leftmenu .titlebox {
      height:20px;
      width:150px;
      background-color:black;
  }
  
  #leftmenu .titlebox .text {
      margin-left:10px;
      font-family:OswaldL;
      font-size:14px;
      color:white;
  }
  
  /*Now, here is the part that I want to move to the upper right side*/
  
  #rightmenu {
      margin-left:5px;
      margin-top:5px;
      height:auto;
      width:250px;
      background-color:gray;
      padding:2px;
  }
  
  #rightmenu .titlebox {
      height:20px;
      width:250px;
      background-color:black;
  }
  
  #rightmenu .titlebox .text {
      margin-left:10px;
      font-family:OswaldL;
      font-size:14px;
      color:white;
  }
  </code></pre>
  
  <p>And here is the HTML:</p>
  
  <pre><code>&lt;div id="base"&gt;
      &lt;section style="color: black;"&gt;
          &lt;div id="leftmenu"&gt;
              &lt;div class="titlebox"&gt;&lt;div class="text"&gt;&lt;?php echo NOM_SITE;?&gt;&lt;/div&gt;&lt;/div&gt;
              &lt;ul&gt;
                  &lt;li&gt;&lt;a href="#"&gt;DATA&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;DATA&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;DATA&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
  
  
          &lt;div id="leftmenu"&gt;
              &lt;div class="titlebox"&gt;&lt;div class="text"&gt;MENU&lt;/div&gt;&lt;/div&gt;
              &lt;ul&gt;
                  &lt;li&gt;&lt;a href="#"&gt;DATA&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;DATA&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
              &lt;/div&gt;
  
          &lt;div id="leftmenu"&gt;
              &lt;div class="titlebox"&gt;&lt;div class="text"&gt;MENU&lt;/div&gt;&lt;/div&gt;
              &lt;ul&gt;
                  &lt;li&gt;&lt;a href="#"&gt;DATA&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
              &lt;/div&gt;
  
  
  
          &lt;div id="rightmenu"&gt;
              &lt;div class="titlebox"&gt;&lt;div class="text"&gt;MENU&lt;/div&gt;&lt;/div&gt;
              &lt;div class="droite_text"&gt;
                  &lt;li&gt;&lt;a href="forum.php?id=1"&gt;DATA&lt;/a&gt;&lt;/li&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  
          &lt;div id="rightmenu"&gt;
              &lt;div class="titlebox"&gt;&lt;div class="text"&gt;MENU&lt;/div&gt;&lt;/div&gt;
              &lt;div class="droite_text"&gt;
              DATA
              &lt;/div&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>Thank you. :)</p>