C
chandy
Hi,
I am trying to access the text-decoration property for an element's
style.
I know that this works:
Object.style.color = 'blue';
but this doesn't:
Object.style.text-decoration='line-through';
The 2nd appears to choke on the hyphen in text-decoration?
Is this the problem? How else can I access text-decoration for the
style?
Chandy
I am trying to access the text-decoration property for an element's
style.
I know that this works:
Object.style.color = 'blue';
but this doesn't:
Object.style.text-decoration='line-through';
The 2nd appears to choke on the hyphen in text-decoration?
Is this the problem? How else can I access text-decoration for the
style?
Chandy