[jQuery] Re: jQuery css properties

2007-06-02 Thread SamCKayak
Thanks. Sam

[jQuery] Re: jQuery css properties

2007-06-02 Thread Klaus Hartl
SamCKayak wrote: .css( {background: "navy"} ) is a great facility, but the object keys cannot follow the corresponding css names which is why css background-color is shortended to "background". No. It's not shortened, it's the corresponding shorthand css property. If the css property contain

[jQuery] Re: jQuery css properties

2007-06-02 Thread Rodrigo Moraes
On 6/2/07, SamCKayak wrote: Is there a list somewhere of all the revised property names? I need border-bottom in particular. I would expect it converted to camel caps (e.g., borderBottom), as in js and other libs, but I'm not sure. -- rodrigo

[jQuery] Re: jQuery css properties

2007-06-02 Thread Erik Beeson
"background" is an official property. See here: http://www.w3schools.com/css/pr_background.asp To access background-color, use backgroundColor. The same is true for any property with - in the name. --Erik On 6/2/07, SamCKayak <[EMAIL PROTECTED]> wrote: .css( {background: "navy"} ) is a gre