ppk, :~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : From: Peter-Paul Koch : : >getStyle('mylayer').background-color: "red" : : Correct syntax: : : getStyle('mylayer').background-color = "red" : : but it probably won't work in Netscape 4. Should : work in the other browsers, though. :~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ actually, that's not the correct syntax as property names cannot contain a hyphen. the proper way to refer to background-color via script is backgroundColor. getStyle('mylayer').backgroundColor = 'red'; thanks, .jeff name://jeff.howden game://web.development http://www.evolt.org/ mailto:jeff at members.evolt.org