Switch to full style
HTML code examples
Post a reply

Remove border of the linked image

Thu Feb 16, 2012 3:48 pm

This example shows how to remove the border of a linked image using the CSS properties.
Code:
<html>
    <head>
        <title>Remove the border of the linked image</title>

<
style type="text/css">

a img {
  border: 0;
 }
</
style>
    </head>
    <body>
  <center>
    <p>
    In this example we remove the border of the linked 
     image
.
     </p>
     
<a href="#"><img src="site_logo.gif"  alt="codemiles" /></a>
   <center>
    </body>
</
html>

 




Post a reply
  Related Posts  to : Remove border of the linked image
 Change the border color of image and its link     -  
 Linked List C++ Code Implementation     -  
 Program to solve equations using double linked list     -  
 Remove Indentation     -  
 remove page title     -  
 Remove all the vowels from a string     -  
 Add and Remove CSS classes to html tag dynamically     -  
 Remove a portion of the array and replace it with something     -  
 Remove ordered list numbers     -  
 Remove default window icon from JFrame     -  

Topic Tags

HTML Image