Re: text-decoration
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: text-decoration

From: impaler <TamasJano@gmail.com>
Date: Tue Jan 31 2006 - 17:16:31 CET

chandy@totalise.co.uk wrote:
> Nevermind, found it:
>
> Object.style.textDecoration='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
Received on Tue Feb 7 21:28:55 2006