• 1
  • 2
Home > Tips

How to Remove the Border from Linked Images?




How to Remove the Border from Linked Images?

 

Have you ever met this situation - After adding a link to an image on our webpage, a colored border appears around the linked image? It is really annoying especially when every page of your website has this problem.

Then how to remove the border from linked image? The following passage will help you easily solve this problem.

 

 

 

 No.1 Method to Remove the Border from Linked Images.

Usually, we can add border='0' or border:none;' to the image tag, for example:

 1. <img src= example.png border= 0>
 2. <img src=' example.png ' style='border: none;' />

 

However, if there are too many linked images that have the colored border, we need to add border='0' or border:none;' to each image tag one by one, it is really a tough and time-consuming job to do that. Is there a simple way to remove the border from linked images? The answer is absolutely Yes. The passage below will give you the answer.

 

 

 

No. 2 Method: Remove the Border from Linked Images

This method is better if you dont want the border to appear around every linked image on your web pages.

To do so, you just need to put a line in your style sheet (CSS document), for example:

 

img {border : 0;}
img a {outline : none;}

 

Thats all. It is very easy, right? Now, you will never worry about how to remove the border from linked image anymore.

Choose a SliceMaker Product to Create a Website on Your Own-30 Day Freetrial
SliceMaker Standard V3.6 - Freeware
SliceMaker Standard V3.6 - Freeware
The anyone-can-master webpage making software. You can create exceptional webpage/website on your own even if you're unfamiliar with webpage making.
$0
$0
SliceMaker Platinum V3.6 - Freeware
SliceMaker Platinum V3.6 - Freeware
The bestselling webpage making software, helps you create exceptional webpage/website without writing complicated CSS and DIV codes.
$0
$0
SliceMaker Deluxe V3.6 - Freeware
SliceMaker Deluxe V3.6 - Freeware
The all-in-one webpage making software, helps you create webpage/website of any style. It's the idea tool to create webpage/website.
$0
$0