?
Solved

image link surrounded by blue?

Posted on 2003-12-04
6
Medium Priority
?
734 Views
Last Modified: 2010-04-09
Hi there,
I have just put in a beautiful image gif for link and it is surrounded by  blue. This is because it is a link. Can anyone tell me how to get rid of this.

Cheers in advance
Will
0
Comment
Question by:williery10
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 10

Accepted Solution

by:
daleoran earned 100 total points
ID: 9873504
In the <img> tag put border="0"

Michael
0
 
LVL 3

Expert Comment

by:mrh30
ID: 9873551
Alternatively, get rid of the anchor tags round the image and add some event handlers to the image:

<img src="..." onmouseover="this.style.cursor='pointer';" onclick="document.location.href='[Link Address]';">
0
 

Author Comment

by:williery10
ID: 9873571
Thats great, wouldn't have guessed that
Cheers
Williery
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 14

Expert Comment

by:john-formby
ID: 9876376
If you use CSS you could add the following and you would not have to define border="0" for every image in your HTML.

img      {
      border:0;
      }

John.
0
 
LVL 15

Expert Comment

by:Daydreams
ID: 9876470
Put this between the <head> and the </head> tags:

<style type="text/css">
.noborder { border: none;}
</style>

Then in the body, you can put this:

<a href="somewhere"><img src="myimage.gif" class="noborder"></a>


Your image link will then have no blue border.
0
 
LVL 11

Expert Comment

by:Zontar
ID: 9879030
>  Alternatively, get rid of the anchor tags round the image and add some event handlers to the image

This is silly. There's absolutely no reason to do this, and you make the link unusable by browsers that don't support JS.
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question