> Of course if you enclose the table in a div or span, you can set the innerHTML of THAT element... And create tagsoup. SPAN is an inline element, TABLE is a block element. I never got the fetish of .NET putting SPANs of all things all over the document.