/    Sign up×
Community /Pin to ProfileBookmark

a:link not fully working

a:link {color:white;
text-decoration: none}

For some links, the text is still being underlined

<tr><td align=”center”><p class=”menu”><a href=”/index.php?page=test.php”>Test</a></p></td></tr>
<tr><td align=”center”><p class=”menu”><a href=”/index.php?page=test2.php”>Test2</a></p></td></tr>
<tr><td align=”center”><p class=”menu”><a href=”/index.php?page=test3.php”>Test3</a></p></td></tr>

Test is the link that remains underlined. Test 2&3 and not underlined. Everything else works fine.

Anyone know why it’s doing this?

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@David_HarrisonJan 01.2007 — If you remove the ":link" in your selector, it'll work fine, here's why.5.11.2 The link pseudo-classes: :link and :visited

User agents commonly display unvisited links differently from previously visited ones. CSS provides the pseudo-classes ':link' and ':visited' to distinguish them:

* The :link pseudo-class applies for links that have not yet been visited.
* The :visited pseudo-class applies once the link has been visited by the user.[/quote]
×

Success!

Help @blade52x 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.15,
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,
)...