# Centering pop up problems

**URL:** <https://forum.kirupa.com/t/centering-pop-up-problems/33921>\
**Category:** Uncategorized\
**Created:** [October 25, 2003, 6:14am UTC](https://forum.kirupa.com/t/centering-pop-up-problems/33921 "2003-10-25T06:14:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![snake](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/snake/32/337_2.png) [@snake](https://forum.kirupa.com/u/snake)\
**Post date:** [October 25, 2003, 6:14am UTC](https://forum.kirupa.com/t/centering-pop-up-problems/33921/1 "2003-10-25T06:14:43Z")

</div>

I have used the centering pop up technique, but my problem lies with the boreders. I’m using the pop ups for jpgs, but it seems to have a bit of a boreder at the top and the left of the image, how can I get rid of this. I used the tut on this site for centered popups. an example of my problem is on my site at [http://robertbannister.netfirms.com](http://robertbannister.netfirms.com) . Located in the 3D portfolio section.

Thanks

Rob

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 25, 2003, 3:03pm UTC](https://forum.kirupa.com/t/centering-pop-up-problems/33921/2 "2003-10-25T15:03:55Z")

</div>

one other problem I’m having with this pop up window is that its resizing to fit in the widow. I want to keep at the original resolution

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 25, 2003, 8:16pm UTC](https://forum.kirupa.com/t/centering-pop-up-problems/33921/3 "2003-10-25T20:16:04Z")

</div>

Where’s the pop-up?

regards

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 26, 2003, 4:26pm UTC](https://forum.kirupa.com/t/centering-pop-up-problems/33921/4 "2003-10-26T16:26:45Z")

</div>

for the second question, i don’t understand what you mean, but as for the first one, actually, i did something similar for this web  
[www.carlesfochs.com](http://www.carlesfochs.com)  
if you choose one of the projects, it opens a pop up window. in dreamweaver, in “modify page properties”, i set the left and top borders to 0.  
hope this help!

but for more about pop ups, check  
[http://www.flash-db.com/PopUp/](http://www.flash-db.com/PopUp/)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 26, 2003, 9:33pm UTC](https://forum.kirupa.com/t/centering-pop-up-problems/33921/5 "2003-10-26T21:33:06Z")

</div>

I’m assuming the pop-up is with javascript, so look in your javascript to see where the code for the output is, find the body tag in it and add “topmargin=0 leftmargin=0” (without the quotes.) and that should work.
