# Big nasty border

**URL:** <https://forum.kirupa.com/t/big-nasty-border/16478>\
**Category:** flash\
**Created:** [March 25, 2003, 4:29pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478 "2003-03-25T16:29:34Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_Craig](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@Mr\_Craig](https://forum.kirupa.com/u/Mr_Craig)\
**Post date:** [March 25, 2003, 4:29pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/1 "2003-03-25T16:29:34Z")

</div>

Hi, I am trying to create pop-ups for several pieces of work for my on-line portfolio… When i preview the pop-ups, by loading the main movie in Explorer and then clicking the specific button, my pop-up does appear and in the centre of the screen also… but the mc within the window is off centre…  
I go into MX and make sure the html options are set for centre allignment, dimensions-pixels, scale - no border etc…but still it appears with this annoying border - cutting out some of the main image…  
What do I do? - Do I change the HTML in Dreamweaver?

The pop-up code I am using is based on this sites actionscript pop-up tutorial…

---

<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:** [March 25, 2003, 4:43pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/2 "2003-03-25T16:43:01Z")

</div>

in dreamweaver select the swf and cut it now press ctrl+alt+t ans insert a table set its with and hegith to 100% now click inside the empty table and go to properties inspector tab and set its horizontal position to center and now paste the swf and save it should work if it doesnt let me know

Grim

---

<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:** [March 25, 2003, 4:45pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/3 "2003-03-25T16:45:09Z")

</div>

forgot to mention go to modify page settings and the page margins and height set those to 0 and the top and otehr one thats there i dont have dreamweaver at work but it there

Grim

---

<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:** [March 25, 2003, 4:46pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/4 "2003-03-25T16:46:36Z")

</div>

well, unfortunately flash does that. ☹

no matter what settings you chose, it will place the swf on the html code with a let/top border.

just replace the body tag of your html document for this:

```php
<BODY bgcolor="WHITE" marginheight="0" marginwidth="0" border="no" topmargin="0" leftmargin="0" rightmargin="0">

```

and it will be ok.

[COLOR=crimson]remember: if you publish your movie again it will override all html changes.[/COLOR]

cheers :bounce:

---

<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:** [March 25, 2003, 5:54pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/5 "2003-03-25T17:54:26Z")

</div>

Thanks guys…this forum has got to be one of the best… if not thee…  
Cheers

---

<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:** [March 25, 2003, 6:01pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/6 "2003-03-25T18:01:17Z")

</div>

you´re welcome 😉

---

<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:** [March 25, 2003, 6:41pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/7 "2003-03-25T18:41:21Z")

</div>

Actually… hello! Are you still there?!  
I have just tried both techniques…and both didn’t work. The best I got to a tight window was the top and bottom exact but 2 borders on either side… Is it something Im doing wrong in MX when I publish?

---

<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:** [March 25, 2003, 8:13pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/8 "2003-03-25T20:13:54Z")

</div>

check this out:

---

<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:** [March 25, 2003, 9:09pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/9 "2003-03-25T21:09:41Z")

</div>

Yeah…  
this one has the two boarders also, except mine are on the opposite side…

---

<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:** [March 25, 2003, 9:17pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/10 "2003-03-25T21:17:05Z")

</div>

you must click the main.html.

the main.html will load the popup.html with the exact dimensions.

---

<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:** [March 25, 2003, 9:27pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/11 "2003-03-25T21:27:28Z")

</div>

dude, I am…  
the folders on my desktop I open it, and double click on the “main.html” file - this orange window pops up with a chunky white boarder on its east and south sides?!?

---

<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:** [March 25, 2003, 9:39pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/12 "2003-03-25T21:39:17Z")

</div>

well, it works fine here… unless we can find another user to settle this ‘dispute’ we´re stucked :crazy:

---

<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:** [March 25, 2003, 10:03pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/13 "2003-03-25T22:03:50Z")

</div>

Okay… my previous attempts used your suggestion and the oyther guys idea to put the swf into a table.  
When I just use your technique I get a boarder on the left and bottom sides, like how your file appears on my computer except my html file has smaller boarders. Im working on a G4 with Dreamweaver 4 and Flash MX - but I wouldnt think that that would cause any problems. Hey-ho! I’ll just try fiddling a bit more…thanks for your help any how! 🙂

---

<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:** [March 25, 2003, 10:09pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/14 "2003-03-25T22:09:06Z")

</div>

HA HA!!!

- It’s working!!  
Cheers Guig0!

- silly me, I missed some really obvious movie dimension thing…  
Thanks!

---

<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:** [March 25, 2003, 10:11pm UTC](https://forum.kirupa.com/t/big-nasty-border/16478/15 "2003-03-25T22:11:16Z")

</div>

you blind! :bad:

LOL just j/k…😛 😛

glad to help =)

Double\_Cheers :bounce:
