T
tom
Hi there,
In IE, I am trying to govern various style attributes of a DIV tag with
javascript.
It's no problem doing things like this: 'window.xxx.style.top="100px";'
but when I try to change the text alignment with the following:
'window.xxx.style.text-align="left";'
.... I get a syntax error probably due to the hyphen.
Does anyone have any ideas about this? Other style attributes can be
changed but not text alignment. I would be very grateful for some help.
Thanks ....
Tom
In IE, I am trying to govern various style attributes of a DIV tag with
javascript.
It's no problem doing things like this: 'window.xxx.style.top="100px";'
but when I try to change the text alignment with the following:
'window.xxx.style.text-align="left";'
.... I get a syntax error probably due to the hyphen.
Does anyone have any ideas about this? Other style attributes can be
changed but not text alignment. I would be very grateful for some help.
Thanks ....
Tom