title: How to avoid numbers from changing cell size each time program is run?
body: <p>How to avoid numbers from changing cell size each time program is run?
  I would like to have equal spacing in-between numbers without cells shifting left to right.      </p>
  
  <pre><code>var arr = new Array(5);
  
  var i = 0, j, n;
  
  var OK = true;
  
  var printThis = " "; 
  
  var table = "&lt;table style = font-size:25px; &gt;"; 
  
  while (i &lt; arr.length) {
  
        n = Math.floor((Math.random() * 35) + 1);
  
        for (j = 0; j &lt; i; j++) {
  
            if (arr[j] == n) {
              OK = false;
            }
        }
  
        if (OK) {
            arr[i] = n;
  
            table += "&lt;td&gt;" + arr[i] + "&lt;/td&gt;"; 
  
            i++;
        }
        OK = true;
  
  }
  
  table += "&lt;/table&gt;";
  
  document.getElementById("demo").innerHTML = table;
  </code></pre>