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 contains a "-" you need to put the property name into quotes:

.css({ 'background-color': 'navy' })


Is there a list somewhere of all the revised property names?

As I said, there are no revised property names. Were did you get that information from?


I need border-bottom in particular.

.css({ 'border-bottom': '1px solid red' })


--Klaus

Reply via email to