title: How to move a button to the right?
body: <p>I have an application <a href="http://helios.hud.ac.uk/u0867587/Mobile_app/QandATable2.php" rel="nofollow">here</a> wheree when user clicks on the plus button, it displays a modal window.</p>
  
  <p>Problem is that I want the close button to appear on the right hand side of the window, on the same line as the "PREVIOUS QUESTIONS" heading. But it doesn't seem to be moving to the right at all. What am I doing wrong?</p>
  
  <p>Below is the code:</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div class="previouslink"&gt;
  &lt;h1&gt;PREVIOUS QUESTIONS&lt;/h1&gt;
  
  &lt;button type="button" id="close" onclick="return closewindow();"&gt;Close&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code>#close{
      float:right;
      display:block;
      margin-right:0px;
      clear:left;
  }
  </code></pre>