Differences

This shows you the differences between two versions of the page.

finite_algebras [2010/08/18 11:09]
jipsen
finite_algebras [2010/08/18 11:30] (current)
jipsen
Line 2: Line 2:
<html> <html>
<style> <style>
-th {background-color:#f0f0f0;} +td {padding-left:3px;padding-right:3px;} 
-table {border-collapse:collapse;line-height:70%} +th {background-color:#f0f0f0;font-weight:normal;padding-left:3px;padding-right:3px;} 
 +table {border-collapse:collapse;line-height:80%;}
</style> </style>
Format as <select id="format" onchange="update()"> Format as <select id="format" onchange="update()">
Line 29: Line 30:
  st = st+"</div> &nbsp;"; num++;   st = st+"</div> &nbsp;"; num++;
 }else if (format=="table"){  }else if (format=="table"){
-  var st="<table style=\"display:inline-block;border: 1px darkgray solid;\"><tr><td colspan=\"0\"><sup>"+num+"</sup>"+"<b>S</b><sub>"+a.length+","+k+"</sub></td></tr><tr><th>&middot;</th>";+  var st="<table style=\"display:inline-block;border: 1px darkgray solid;\"><tr><td colspan=\""+(a.length+1)+"\"><sup>"+num+"</sup>"+"<b>S</b><sub>"+a.length+","+k+"</sub></td></tr><tr><th>&middot</th>";
  for (var i=0; i<a.length; i++) st += "<th>"+i+"</th>";   for (var i=0; i<a.length; i++) st += "<th>"+i+"</th>";
  st += "</tr>";   st += "</tr>";