Yeah. could be, though I need to somehow get around it. anyways, your example didn't work, and resultet in the same.
On 1 Okt., 20:36, Diodeus <[EMAIL PROTECTED]> wrote: > It looks like something about your negative margin is messing things > up. > > Try something like this instead: > > new Effect.Move('lightbox',{x:137, mode:'relative'}); > > On Oct 1, 2:18 pm, revivedk <[EMAIL PROTECTED]> wrote: > > > Is there any reason that using: > > $('lightbox').morph('left: 137px;'); > > > so, is there any reason, that this causes the DIV to move partially > > out of the screen? > > the preset css style of the lightbox (if it can be the cause?) is > > this: > > > div#lightbox { > > position: fixed; > > top: 50%; > > left: 50%; > > z-index: 1004; > > background-color: white; > > width: 500px; > > height: 300px; > > text-align: left; > > margin-left: -250px; > > margin-top: -150px; > > overflow: auto; > > padding: 0px; > > } > > > I can't really figure it out, since "left: 137px;" is a perfectly > > valid location, within the screen? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@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-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---