August 5th, 2003, 09:27 AM
CSS not formatting when using .insertrow
The problem I'm having is that the CSS formatting is not used on the rows I add from the client side.
August 5th, 2003, 03:48 PM
what I do when adding rows using insertRow is to apply the style after I have added the row,
var tr = table.insertRow(0);
tr.className = "myclass";
tr.style.fontFamily = "Arial";
One thing to keep in mind is you probably want to add styles to the td element and not the tr.
August 6th, 2003, 09:15 AM