qui con IE funziona tranquillamente anche
t.setAttribute('cellSpacing','20');