Forum Moderators: open
thanks,
JAS
Paraphrased, if your CSS is not inline or you don't set the property as the page loads, Javascript will be "unaware" of the current style of an element. You need to do one or the other or follow the advice in the first link.
If that's not it let's see some sample code . . .