Hmm.. First off, shouldn't you be trying to center the div with id myModalHolder and not myModalDialog?
Second, to position elements with left and top style attributes (which is what setElementPosition does) they need to have a "position: absolute;" css rule applied to them. hth, Arnar On 1/25/07, SanderElias <[EMAIL PROTECTED]> wrote: > > Hi all, > First off all, Thanks for your support! > Sadly enough, it did not bring me closer to an solution. > i have put my sample up, so one can look on it at: > http://www.eliasweb.nl/testthis.html > > It got even worse, I have an additional problem with opacity! > if you look at the page in FF, and click on one off the buttons, the > asked for div appears, but it is not centered. > I added an opacity button, to switch the opacity off the masking div > (id:back). this works, but it also changes the opacity off my 'front' > div, witch is NOT what I want. I want to have an solid div, on top off > an semi-transparent. > > on top off the above problems, in IE-7 the top-div id:yModalHolder, is > stretched about the whole page. I have to find an CSS rule or JS to fix > this too, but that's another story altogether!! :( > > I have been on the for quite some hours, and tried a lot off different > approaches. Now I have brought it back to where I started (well > almost!) and decided to ask for help. I'm feeling quite stupid, that I > can't get this relative simple problem fixed! > > with kind regards > Sander Elias > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---
