Hi all,
I use the Document Object Model to create a table and then add rows and
cells as needed by my application. One problem I haven't been able to
figure out is how to set the width of the cells. I set the contents of
each new cell using myNewCell.innerHTML = .... followed by a Div. Here's
two simple lines...
myNewCell=myNewRow.insertCell();
myNewCell.innerHTML='<Div class="small" style="display:block">'+xfer
[x+3]+'</div>'
This works fine BUT using the 'width' parameter either in the Div or
within the 'style' gets me either no results or wierd results (like
squashing the test into a small portion of the cell while expanding the
cell's width.
If anyone has a suggestion for this problem I would be most grateful.
Thanks in advance for taking the time to think about this.
Peter