By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,606 Members | 1,568 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,606 IT Pros & Developers. It's quick & easy.


P: n/a

I am trying to access the text-decoration property for an element's

I know that this works: = 'blue';

but this doesn't:'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


Jan 31 '06 #1
Share this Question
Share on Google+
2 Replies

P: n/a
Nevermind, found it:'line-through';

Jan 31 '06 #2

P: n/a

ch**** wrote:
Nevermind, found it:'line-through';

Just a short notice:
when the property consists of 2 or more words and are separated by "-"
you obtain the respective property by taking out the "-" and capitalize
the next word.

ex: border-width -> borderWidth

Jan 31 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.