# How can I get rid of the borders when I publish?

**URL:** <https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546>\
**Category:** flash\
**Created:** [August 3, 2003, 10:32pm UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546 "2003-08-03T22:32:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcnyc](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@dcnyc](https://forum.kirupa.com/u/dcnyc)\
**Post date:** [August 3, 2003, 10:32pm UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/1 "2003-08-03T22:32:49Z")

</div>

I am working on a website (size: 800\*600) and I am using flash MX (on a mac). I published my first pages and checked online (with IE & Safari) to see how it looked. Unfortunately, it gave me a border all around the site. I checked my settings and everything is 800 by 600. What can I do to get rid of it? Thanks for your help.

---

<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:** [August 3, 2003, 11:21pm UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/2 "2003-08-03T23:21:37Z")

</div>

I just published a movie and tested it in Safari (on my Apple machine) and I see no borders…  
In Flash’s “Publish Settings” I see a drop-down for “Scale” (which I’ve never used) that has “No Border” as an option. But how would it have turned ON to begin with?

---

<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:** [August 4, 2003, 12:17am UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/3 "2003-08-04T00:17:06Z")

</div>

Flash doesn’t make borders around swf’s, but if your swf doesn’t fill up the window, the background color will create a border. How big is the border?

---

<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:** [August 4, 2003, 12:54am UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/4 "2003-08-04T00:54:41Z")

</div>

The border is about a half inch and is the same color as the background color. I wonder if it is because I am using a pic as a background instead.

---

<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:** [August 4, 2003, 1:19am UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/5 "2003-08-04T01:19:04Z")

</div>

In fact it is. That border is actually the \<\*\*body bgcolor="#FF0000"\> tag in your HTML.

I didn’t know how to do this, so I learned it real quick like (-:

A suggestion would be to have an html splash page that says enter flash site here or whatever. That link would open up a java window with no toolbar, address bar, etc. like this:  
[http://www.virtualpowers.com/](http://www.virtualpowers.com/)

Notice how that has a border if you resize the window, there’s still that border of bgcolor. While I found this site (just found it on google - don’t know who’s it is), I recieved a popup with a flash movie and it had no border!! I did a ctrl+n so I could view the source. I found this in the HTML bodytag:

```php
<BODY LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">

```

That makes sence, huh!!?? So, that will get rid of your boder if you open a window that’s 800x600 on a computer with a resolution of the same. Unfortunately, some people have 1024x768 (like me). I deal with the border thing on a site I’m working on, it’s still really underconstruction, but you can see how I use java popus and a resize script in javascript to fullsize the window:  
[http://www.freddythunder.com/ucs/](http://www.freddythunder.com/ucs/)  
See, on this page, I just used an image to fill that border (per client’s request) - so there’s another idea for ya!!

Man my posts are friggin’ long today!!

That should do it!!

---

<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:** [August 4, 2003, 1:55am UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/6 "2003-08-04T01:55:18Z")

</div>

Thank you very much for your help Freddythunder. I am gonna try this…

---

<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:** [August 4, 2003, 2:34am UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/7 "2003-08-04T02:34:38Z")

</div>

Did you try the HTML body tag? Did it work? I wanna know too!!

---

<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:** [August 4, 2003, 2:46am UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/8 "2003-08-04T02:46:44Z")

</div>

I am trying it… Promise I will let you know.  
Thanks again.

---

<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:** [August 4, 2003, 2:52am UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/9 "2003-08-04T02:52:27Z")

</div>

Cool…I’m not rushing you, I just figured you wouldn’t check the post until you tried already…and see now I probably threw you off again…I apalogize…😛

---

<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:** [August 4, 2003, 3:13am UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/10 "2003-08-04T03:13:59Z")

</div>

no problem. I tried everything I could but I still have those borders! I don’t know what to do since the whole site needs that picture as a background.

---

<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:** [August 4, 2003, 3:14am UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/11 "2003-08-04T03:14:57Z")

</div>

Let me try, hang on…

---

<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:** [August 4, 2003, 3:27am UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/12 "2003-08-04T03:27:38Z")

</div>

It works fine…I actually didn’t have to try it, I just found another site that uses the same thing that you are trying to do: Goto this link:  
[http://www.kirupa.com/developer/mx/full\_site.htm](http://www.kirupa.com/developer/mx/full_site.htm)

Click the link to pop open the example  
drag the corner of that window down a little  
right click on the background somewhere (not on the flash movie)  
View Source

That will give you the HTML and in the body tag, it says:  
topmargin=“0” leftmargin=“0”

That’s it!! If you still have trouble with yours, post your HTML in a text file and I will look at it for you.

---

<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:** [August 4, 2003, 3:56am UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/13 "2003-08-04T03:56:53Z")

</div>

It did not work, still those borders…  
anyway, i would like to thank you for all your great help. It’s late here, I am gonna have to go to bed. would you mind if tomorrow I sent you my html file?

---

<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:** [August 4, 2003, 4:04am UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/14 "2003-08-04T04:04:21Z")

</div>

Nope, see ya tomorrow!!

---

<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:** [August 4, 2003, 11:06pm UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/15 "2003-08-04T23:06:04Z")

</div>

Hi Freeyhunder, I did not send you my files because I found the solution. check this link [http://www.moock.org/webdesign/flash/fillthewindow.html](http://www.moock.org/webdesign/flash/fillthewindow.html). Thanks again for all you help.

---

<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:** [August 5, 2003, 4:42am UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/16 "2003-08-05T04:42:08Z")

</div>

No worries…I liked your 404 page. That’s pretty cool.

---

<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:** [August 5, 2003, 1:32pm UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/17 "2003-08-05T13:32:39Z")

</div>

I don’t understamd why it is a 404page??? try now [http://www.moock.org/webdesign/flash/fillthewindow.html](http://www.moock.org/webdesign/flash/fillthewindow.html)

---

<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:** [August 5, 2003, 2:13pm UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/18 "2003-08-05T14:13:26Z")

</div>

Okay, I got it now. I tried it for some cartoons on my site (the margin thing) and it works, so everyone wins!!

---

<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:** [August 5, 2003, 3:53pm UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/19 "2003-08-05T15:53:56Z")

</div>

Did u use a rectangle to create a background colour??? if ya did thats ur probs…

when ya start a flash movie or wotever make sure in properties u change the background on there… no outline !!!

---

<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:** [August 5, 2003, 4:58pm UTC](https://forum.kirupa.com/t/how-can-i-get-rid-of-the-borders-when-i-publish/27546/20 "2003-08-05T16:58:51Z")

</div>

Actually, This way you could use a rectangle for your background color and change it. A lot of my sites and especially the cartoons have changing bgrounds - it’s necessary. Therefore, you must tell the browser to eliminate the margins all together.

Oh yeah, this way you can have lines/shapes/boxes what have you spread from one edge of the window to the other without that break…see what I mean?
