SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Threaded View
-
Oct 9, 2007, 16:08 #1
- Join Date
- Jun 2003
- Location
- _root.europe.uk.london
- Posts
- 965
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Removing link decoration from an image while still keeping a border
I've come across a problem with the images I'm using as links.
I want to remove the ugly blue border that naturally comes from using an <a> tag with an image ... but I still want to include a dotted right border to separate the image from the following picture.
You can see what I mean by looking at the icons in the top right hand corner at http://www.theshortstack.co.uk
I've tried using the following CSS:
PHP Code:img.firsticon {
padding-right: 5px;
}
img.firsticon a{
text-decoration: none;
}
Would somebody be able to point out where I'm going wrong please?
Thanks very much
Bookmarks