Using Prototype 1.6 RC0

The following works as expected:
$('someDiv').setStyle({paddingLeft: '100px'});
$('someDiv').setStyle('padding-left: 100px');

The following sets an empty style. Not expected:
$('someDiv').setStyle({paddingLeft: '-100px'});
$('someDiv').setStyle('padding-left: -100px');

Tested in IE7 and FF2. The results are the same.

You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to