As I recall, the following iteration schemes produce a matrix. In my case a 5x5
  SCRIPT Language="JavaScript">
  document.write('<table border="1" cellspacing="1" cellpadding="5">')
  for(i = 0; i < 5; i++){
  document.write('<tr>')
    for (j = 0; j < 5; j++){
       document.write('<td>row ' + i + ', column ' + j + '</td>')
    }
    document.write('</tr>')
 }
 document.write('</table>')
 //-->
 </SCRIPT>
How would I wrap this in a div class that is set up with a margin and background color?
 
     
     
     
    