| Have you tried 'cellSpacing'? I think I remember | reading somewhere that IE requires camelCaps. Cheers Duncan - that did it! function cellSpc(val) { var x = document.getElementById("swatch"); x.setAttribute('cellSpacing', val); } t. :::::::::::::::::::::::: <!--timothy martens timfm at hawaii.rr.com-->