title: How to move Form submit buttons closer
body: <p>I have the following scripts placed in my PHP page:</p>
  
  <pre><code>echo "The file has been successfully read!";
  echo "&lt;br&gt;";
  echo "&lt;br&gt;";
  echo "&lt;form action='displaypurchase.php' method='post' target='_blank' enctype='multipart/form-data'&gt;";
  echo "&lt;input type='hidden' name='Password' value='" . $_POST['Password'] . "'&gt;";
  echo "&lt;input type='submit' name='displaypurchase' value='Purchases'&gt;";
  echo "&lt;/form&gt;";
  echo "&lt;br&gt;";
  
  echo "&lt;form action='displaygamebucks.php' method='post' target='_blank' enctype='multipart/form-data'&gt;";
  echo "&lt;input type='hidden' name='Password' value='" . $_POST['Password'] . "'&gt;";
  echo "&lt;input type='submit' name='displaygamebucks' value='Gamebucks'&gt;";
  echo "&lt;/form&gt;";
  echo "&lt;br&gt;";
  
  echo "&lt;form action='main.php' method='post' enctype='multipart/form-data'&gt;";
  echo "&lt;input type='hidden' name='Password' value='" . $_POST['Password'] . "'&gt;";
  echo "&lt;input type='submit' name='returntomain' value='Back to main'&gt;";
  echo "&lt;/form&gt;";
  echo "&lt;br&gt;";
  </code></pre>
  
  <p>The page look's like this:</p>
  
  <p><a href="http://s16.postimg.org/6afeiln85/Capture.png" rel="nofollow">http://s16.postimg.org/6afeiln85/Capture.png</a></p>
  
  <p>As you can see, the form buttons are far from each other. I wanted them to align vertically and closer to each other. How do I achieve his? I tried float but the result was a mess.</p>
  
  <p>EDIT:</p>
  
  <p>Here's what I have so far. I added CSS style inside the FORM tag as Kel suggested.</p>
  
  <p></p>
  
  <p>now I'm getting this:</p>
  
  <p><a href="http://s30.postimg.org/4fa5mxpxd/Capture2.png" rel="nofollow">http://s30.postimg.org/4fa5mxpxd/Capture2.png</a></p>
  
  <p>It's almost there, as you can see it's already closed to each other, the only problem left is I want them positioned vertically, meaning from top to bottom. The picture shows they are positioned from top to bottom but each buttons are moving to the right. I needed the <BR> tags since without it, the buttons would line up horizontally.</p>
  
  <p>FINAL EDIT:
  Got it to work the way I want it to be. I don't know why I haven't thought of it before, but I used a table without borders, and it worked exactly as how I wanted it to be. Posting an answer to help others</p>