Because the IE-specific stylesheet has that element positioned
absolutely, so increasing its margin wouldn''t cause it to move.
http://www.prototypejs.org/stylesheets/ie-sucks.css
#header h2 { margin:0; position:absolute; top:0; right:-20px; }
Correct behavior. View the source.
TAG
On Mar 20, 2007, at 9:43 AM, Les wrote:
>
> Steps to recreate:
>
> 1.) Enter http://www.prototypejs.org/
>
> 2.) Enter javascript:
alert($(''tagline'').setStyle({marginLeft:
> ''100px''}));
>
> On FF the text "Prototype is a JavaScript Framework...." moves to
the
> left as expexted; on IE 6 the text stays in place. Why?
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---