Joan Piedra schrieb:
> $(el).css('padding','0 0 0 5px');
> $(el).css('paddingLeft','5px');
>
> They both works fine.
And
$(el).css({'padding-left': '5px'});
will also. I assume you tried css({padding-left: '5px'}), which will not
work because of the "-" in the property name, so have to put quotes
around it in this case.
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
