Just to get things straight:

var el = new Element('div', {
  style: 'border: 1px solid red; margin 1em;'

Is perfectly feasable and will work.

> var el = new Element('elem', attributes);
>      el.style.border = border; // and other css rules if needed
>      el.observe('click', action);
> $('some_element').injectBefore(el);
> p.s. something like that will be 
> usefull:http://ajaxian.com/archives/mootools-11-released

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

Reply via email to