On May 17, 2:22 pm, Michael Peters <[EMAIL PROTECTED]> wrote:
> Try this:
> var newdiv = Element.extend(document.createElement('div'));
> newdiv.setStyle({
>   position: 'relative',
>   width: '100px'
>   ...
>
> });
>
> IE doesn't automatically extend new elements based on their Javascript 
> prototype
> even though it should since that's what prototype programming means. But oh 
> well.
>
> --
> Michael Peters
> Developer
> Plus Three, LP

Ah, I get it. That works great. Thanks for your help.

- Kickboy


--~--~---------~--~----~------------~-------~--~----~
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 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to