/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] Problems getting rid of an image link border

Hey all-

I’m having problems getting rid of a border around an image that I’m using as a nav button. My code is below. To me, it seems like the border-width: 0px in the CSS would do the trick, but that doesn’t seem to be working for me. Can anyone tell me what I’m doing wrong?

HTML:
<td>
<a href=”/index.htm”>
<img src=”images/navbuttons/home01.jpg” width=”69″ height=”22″ class=”image” />
</a>
</td>

CSS:
a:link
{
color: #ffffff;
text-decoration: none;
border-width: 0px;
}

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@6StringGeekJul 14.2009 — You can try this:

[CODE]a img {border: 0 none;}[/CODE]
Copy linkTweet thisAlerts:
@AliveauthorJul 15.2009 — Worked like a charm. Thanks man!
Copy linkTweet thisAlerts:
@6StringGeekJul 15.2009 — you're welcome.
×

Success!

Help @Alive spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...