JQuery - how do I make the cells in my table one set width and height?
<p>Every time I run the program the cells in the table vary in size depending on what letter is in it. I have fiddled around with the CSS but no luck, can anyone help?   </p>

<pre><code> var listOfWords = ["mat", "cat", "dog", "pit", "pot", "fog", "log", "pan", "can", "man", "pin", "gag", "sat", "pat", "tap", "sap", "tag", "gig", "gap", "nag", "sag", "gas", "pig", "dig", "got", "not", "top", "pop", "god", "mog", "cot", "cop", "cap", "cod", "kid", "kit", "get", "pet", "ten", "net", "pen", "peg", "met", "men", "mum", "run", "mug", "cup", "sun", "mud", "rim", "ram", "rat", "rip", "rag", "rug", "rot", "dad", "sad", "dim", "dip", "did", "mam", "map", "nip", "tin", "tan", "nap", "sit", "tip", "pip", "sip", "had", "him", "his", "hot", "hut", "hop", "hum", "hit", "hat", "has", "hug", "but", "big", "bet", "bad", "bad", "bed", "bud", "beg", "bug", "bun", "bus", "bat", "bit", "fit", "fin", "fun", "fig", "fan", "fat", "lap", "lot", "let", "leg", "lit"];

 var shuffledWords = listOfWords.slice(0).sort(function () {
   return 0.5 - Math.random();
   }).slice(0, 12);

var tbl = document.createElement('table');
   tbl.className='tablestyle';
   var wordsPerRow = 2;


for (var i = 0; i &lt; shuffledWords.length; i += wordsPerRow) {
   var row = document.createElement('tr');

for (var j=i; j &lt; i + wordsPerRow; ++ j) {
    var word = shuffledWords[j];

    for (var k = 0; k &lt; word.length; k++){
        var cell = document.createElement('td');


        cell.textContent = word[k];
        // IF FIREFOX USE cell.textContent = word[j]; INSTEAD
        row.appendChild(cell);
       }
   }
   tbl.appendChild(row);    
}

document.body.appendChild(tbl);
</code></pre>
