# How do u Remove Borders?

**URL:** <https://forum.kirupa.com/t/how-do-u-remove-borders/38730>\
**Category:** Uncategorized\
**Created:** [December 29, 2003, 4:09am UTC](https://forum.kirupa.com/t/how-do-u-remove-borders/38730 "2003-12-29T04:09:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Recognize](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@Recognize](https://forum.kirupa.com/u/Recognize)\
**Post date:** [December 29, 2003, 4:09am UTC](https://forum.kirupa.com/t/how-do-u-remove-borders/38730/1 "2003-12-29T04:09:45Z")

</div>

Hello people,

I got a link that when its clicked it will open a jpg in a pop up window but its got a white border or margin around it. how do i get rid of this???

The action script i got for my button to load the jpg is:

on (release) {  
getURL(“javascript:NewWindow=window.open(‘Photo 10.jpg’,‘ba1’,‘width=320,height=477,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No’); NewWindow.focus(); void(0);”);  
}

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:** [December 29, 2003, 4:35am UTC](https://forum.kirupa.com/t/how-do-u-remove-borders/38730/2 "2003-12-29T04:35:04Z")

</div>

this is along the lines of what you are talking about: [http://www.kirupa.com/developer/mx2004/chromeless.htm](http://www.kirupa.com/developer/mx2004/chromeless.htm)

i can help you with html but not [js] and flash.

---

<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:** [December 29, 2003, 4:37am UTC](https://forum.kirupa.com/t/how-do-u-remove-borders/38730/3 "2003-12-29T04:37:44Z")

</div>

so how would you do it in html then?

---

<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:** [December 29, 2003, 4:41am UTC](https://forum.kirupa.com/t/how-do-u-remove-borders/38730/4 "2003-12-29T04:41:32Z")

</div>

give me the name of your url to make it easier for me first

---

<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:** [December 29, 2003, 4:48am UTC](https://forum.kirupa.com/t/how-do-u-remove-borders/38730/5 "2003-12-29T04:48:00Z")

</div>

```auto

[head]
<SCRIPT LANGUAGE="javascript">
<!--
window.open ('titlepage.html', 'newwindow', config='height=100,
width=400, frameborder= no, toolbar=no, menubar=no, scrollbars=no, resizable=no,
location=no, directories=no, status=no')
-->
</SCRIPT>
[/head]
[body]
[/body]

```

make sure the script is one line only across, in the head area and u change the url.

---

<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:** [December 29, 2003, 4:57am UTC](https://forum.kirupa.com/t/how-do-u-remove-borders/38730/6 "2003-12-29T04:57:51Z")

</div>

Run a search on the forum for “Removing HTML Margins” and you should find what you are looking for as this has been answered many a time before.

As a hint… you will have to add an image into a .html page and load that .html page into your pop up window, that html file will then use the no-html-margins code in it to remove that border (when you load in an image by itself, the browser defaults to the default margin settings that is why you have to put it in a new html page with set html margin sizes.

---

<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:** [December 29, 2003, 11:38am UTC](https://forum.kirupa.com/t/how-do-u-remove-borders/38730/7 "2003-12-29T11:38:21Z")

</div>

```php
<body style="height:90%; margin: 0px 0px 0px 0px;">

```

---

<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:** [December 29, 2003, 5:51pm UTC](https://forum.kirupa.com/t/how-do-u-remove-borders/38730/8 "2003-12-29T17:51:17Z")

</div>

Cheers lostinbeta i’ll give it a go.
