> On Aug 25, 10:57 pm, mikh2...@gmail.com wrote:
>
[quoted text clipped - 12 lines]
>
> -Mike
Seems to work in all browsers except IE 4 and Dillo (whatever that is).
> On Aug 25, 10:57 pm, mikh2...@gmail.com wrote:
>
[quoted text clipped - 12 lines]
>
> -Mike
I just noticed that the insertCell method only inserts TD elements,
not TH. I'd rather not have to mess with the style properties, as
that's a great big hassle.
-Mike
Old Pedant - 26 Aug 2008 21:29 GMT
> > > Passing the argument, "-1", to "insertRow" and "insertCell" makes it
> > > work in Firefox. I wonder if it works in other browsers...
DOH on me! I remember, now, discovering that a long time ago. Tch. Going
senile.
> I just noticed that the insertCell method only inserts TD elements,
> not TH. I'd rather not have to mess with the style properties, as
> that's a great big hassle.
Can't you just clone your TH properties into a single style class and then
just apply that class to the inserted cell??
newcell = newrow.insertCell(-1);
newcell.className = "StyleThatLooksLikeTH";
??