# Alignment within pop-up window

**URL:** <https://forum.kirupa.com/t/alignment-within-pop-up-window/30249>\
**Category:** flash\
**Created:** [September 5, 2003, 10:28pm UTC](https://forum.kirupa.com/t/alignment-within-pop-up-window/30249 "2003-09-05T22:28:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![underwater](https://avatars.discourse-cdn.com/v4/letter/u/8c91f0/32.png) [@underwater](https://forum.kirupa.com/u/underwater)\
**Post date:** [September 5, 2003, 10:28pm UTC](https://forum.kirupa.com/t/alignment-within-pop-up-window/30249/1 "2003-09-05T22:28:05Z")

</div>

Hello.

I used  
[http://www.kirupa.com/developer/mx/centered\_popup.htm](http://www.kirupa.com/developer/mx/centered_popup.htm)  
to make a centered pop-up window.

It worked (see a test at [http://students.washington.edu/afemia/test/](http://students.washington.edu/afemia/test/)),  
but my movie (in this case a yellow rectangle with black border) seems to be offset within the new window, so that I am seeing a white margin above and to the left of the image. I would like to find out how to get rid of this margin so that the movie will fit perfectly within the window’s frame.

Please let me know if/how this can be done- can I fix it in Flash or is it just a browser thing?

Thanks!
