css
css: function( key, value ) {
// <summary>
// Set a single style property to a value, on all matched elements.
// If a number is provided, it is automatically converted into a pixel value.
// Part of CSS
// </summary>
// <returns type="jQuery" />
// <param name="key" type="String">
// The name of the property to set.
// </param>
// <param name="value" type="String">
// The value to set the property to.
// </param>
// ignore negative width and height values
if ( (key == 'width' || key == 'height') && parseFloat(value) < 0 )
value = undefined;
return this.attr( key, value, "curCSS" );
},