That's one of the cool things about the upcoming new Element feature

It already extends the elements for you.

So you'll be able to do:

new Element('div').setStyle({height: '100px'});

well... or (in that particular case):

new Element('div', {style: 'height: 100px;'});

you can read more about it here:

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