# HTML Image Hyperlink Question

**URL:** https://boards.straightdope.com/t/html-image-hyperlink-question/134672
**Category:** Factual Questions
**Created:** [October 31, 2002, 7:36am UTC](https://boards.straightdope.com/t/html-image-hyperlink-question/134672 "2002-10-31T07:36:19Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Duderdude2](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@Duderdude2](https://boards.straightdope.com/u/Duderdude2)
#### Post date: [October 31, 2002, 7:36am UTC](https://boards.straightdope.com/t/html-image-hyperlink-question/134672/1 "2002-10-31T07:36:19Z")

</div>

I recall there being a command that would eliminate the blue border that surrounds an image hyperlink. I believe it was "onfocus=“this.blur()” which is placed in the hyperlink tag, right after the url. However, at my site, [www.nintendovision.com](http://www.nintendovision.com) , it doesn’t appear to be working for the links on the left side of my site. Anyone know why? Or is there another method of removing these annoying borders?

---

<div class="post-metadata">

### Author: ![Duderdude2](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@Duderdude2](https://boards.straightdope.com/u/Duderdude2)
#### Post date: [October 31, 2002, 7:38am UTC](https://boards.straightdope.com/t/html-image-hyperlink-question/134672/2 "2002-10-31T07:38:08Z")

</div>

Never mind. Sorry, I figured it out. If a mod see this, could they please delete this thread? Thanks.

---

<div class="post-metadata">

### Author: ![Seven](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@Seven](https://boards.straightdope.com/u/Seven)
#### Post date: [October 31, 2002, 8:48am UTC](https://boards.straightdope.com/t/html-image-hyperlink-question/134672/3 "2002-10-31T08:48:01Z")

</div>

(a href=“[somesite.com](http://somesite.com)”)(img src=“someimage.jpg” border=0)(/a)

---

<div class="post-metadata">

### Author: ![Urban\_Ranger](https://avatars.discourse-cdn.com/v4/letter/u/e9c0ed/32.png) [@Urban\_Ranger](https://boards.straightdope.com/u/Urban_Ranger)
#### Post date: [October 31, 2002, 11:21am UTC](https://boards.straightdope.com/t/html-image-hyperlink-question/134672/4 "2002-10-31T11:21:16Z")

</div>

set the border to “0”

---

<div class="post-metadata">

### Author: ![Liberal](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@Liberal](https://boards.straightdope.com/u/Liberal)
#### Post date: [October 31, 2002, 12:11pm UTC](https://boards.straightdope.com/t/html-image-hyperlink-question/134672/5 "2002-10-31T12:11:56Z")

</div>

If you figured it out, why didn’t you post the answer for the benefit of people who search in the future? Instead of deleting the thread, why not turn the thread into something useful?

---

<div class="post-metadata">

### Author: ![Crusoe](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@Crusoe](https://boards.straightdope.com/u/Crusoe)
#### Post date: [October 31, 2002, 1:04pm UTC](https://boards.straightdope.com/t/html-image-hyperlink-question/134672/6 "2002-10-31T13:04:28Z")

</div>

Alternatively, to set this to be the default for all images on the page - assuming you’re designing for a CSS-capable audience - you can set it in an inline or linked stylesheet.

```auto

img {border:0px;}

```

If your audience isn’t CSS-equipped, ignore the above!
