Similar to this one
where width of a cell would depend on the no. of bits for a particular field.
I'm trying to assign the widths and colspans to cells using variables as follows:
document.write("<td align = 'center' width = x colspan = y>");
But I'm not able to get it to work.
It seems to work only when I hardcord a value like below:
document.write("<td align = 'center' width = 20 colspan = 3>");
Any ideas what I might be missing or how I can get this to work?