title: Cant position table where I want in html/php
body: <p>I am trying to place two tables side by side on a web page but for some reason when I try to position them the second one just goes right underneath the first one. here is my code.</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  
  &lt;?php
  
  function specificstat($statname){
  echo "&lt;table cellpadding=10 border=1&gt;";
    echo "&lt;CAPTION&gt;".$statname."&lt;/CAPTION&gt;";
       for($i=1;$i&lt;=10;$i++){ 
      echo "&lt;tr&gt;";
       echo "&lt;td&gt;".$i."&lt;/td&gt;";
      echo '&lt;td&gt;test&lt;/td&gt;';
      echo "&lt;/tr&gt;";
  }
   }
  
   ?&gt;
  
  &lt;div style="position: absolute; top: 20%; left:10%;"&gt;
  
   &lt;?php
   specificstat("Points");
     ?&gt;
  &lt;/div&gt;
  
        &lt;div style="position: absolute; top: 20%; left:40%;"&gt;
  
  
   &lt;?php
   specificstat("Goals");
   ?&gt;
  
  &lt;/div&gt;
  
   &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I have tried using css to position the two divs and that didnt work either. If someone could figure out whats wrong that would be great!</p>
  
  <p>Thanks</p>