# Launching a Centered Pop-Up Window Problem!

**URL:** <https://forum.kirupa.com/t/launching-a-centered-pop-up-window-problem/117588>\
**Category:** Uncategorized\
**Created:** [July 28, 2004, 4:54pm UTC](https://forum.kirupa.com/t/launching-a-centered-pop-up-window-problem/117588 "2004-07-28T16:54:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![steviespin](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/steviespin/32/657_2.png) [@steviespin](https://forum.kirupa.com/u/steviespin)\
**Post date:** [July 28, 2004, 4:54pm UTC](https://forum.kirupa.com/t/launching-a-centered-pop-up-window-problem/117588/1 "2004-07-28T16:54:54Z")

</div>

hey there.

I am using the [kirupa.com](http://kirupa.com) technique for popping windows from flash. Works great!!

One thing happens sometimes though and I can’t figure it out. the flash inside the popped windows is sometimes offset abotu 20 pxls x and y, so it’s shifted right and down off-centre, cropping the bottom right part of the flash movie.

Any idea why this is happening? I am at a loss! thanks for any help 🙂

Stevie Spin

---

<div class="post-metadata">

**Author:** ![Voetsjoeba](https://avatars.discourse-cdn.com/v4/letter/v/ac91a4/32.png) [@Voetsjoeba](https://forum.kirupa.com/u/Voetsjoeba)\
**Post date:** [July 28, 2004, 5:05pm UTC](https://forum.kirupa.com/t/launching-a-centered-pop-up-window-problem/117588/2 "2004-07-28T17:05:14Z")

</div>

Make sure the HTML page you open has it’s margins set to 0. Those offsets are your page margins 🙂
