Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Help removing borders from an image that is a link
Old 02-11-2009, 06:21 PM Help removing borders from an image that is a link
Novice Talker

Posts: 8
Trades: 0
http://dl.getdropbox.com/u/413030/Nick/index.html#

I am trying to make a resume type page to get an entry level job at my school, but I am having a little problem with my images that happen to be links.

I have my links styled with:

Code:
        a {
            color: #C4C02D;
            padding:2px 2px 0px 2px;
            text-decoration:none;
            border-bottom: 1px dotted;
            }
            
        a:hover {
            border-bottom: 1px solid;
            }
and my images with:

Code:
        a img {
            border:0px;
            }
But I'm still seeing the dotted line underneath image links in firefox, chrome, and opera. Could anyone let me know what the problem is or help me out? Thanks much.

EDIT: You can see the problem if you look at the W3C images at the bottom of the page, or if you click "web experience". Thanks.
mnemonik is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-12-2009, 02:25 AM Re: Help removing borders from an image that is a link
Insensus's Avatar
Ultra Talker

Posts: 487
Name: Mark Stegeman
Location: Netherlands, Europe
Trades: 0
You have to fix this by putting a class on the links with an image in them, because you are using to fix it, only removes the border from images within an anchor, but the border is for the anchor itself.
__________________
<?php ($helpfull>0)?$talkupation++ : '';?>
Insensus is offline
Reply With Quote
View Public Profile
 
Old 02-12-2009, 02:49 AM Re: Help removing borders from an image that is a link
Novice Talker

Posts: 8
Trades: 0
Quote:
Originally Posted by Insensus View Post
You have to fix this by putting a class on the links with an image in them, because you are using to fix it, only removes the border from images within an anchor, but the border is for the anchor itself.
Ahh, I understand now. It always makes so much sense after you know the solution. Thanks!
mnemonik is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help removing borders from an image that is a link
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.36787 seconds with 12 queries