/    Sign up×
Community /Pin to ProfileBookmark

Using the old formatting way, how do you change internel link colors? I have <body link=”” vlink=”” alink=””> set, but there is one part of my page that I want the links to be different than what the <body) tag says. How do I make that one link different?

to post a comment
HTML

6 Comments(s)

Copy linkTweet thisAlerts:
@JupacFeb 14.2005 — put this in to your head

<style type="text/css">

<!--

A:link {

text-decoration: none;

color: #879599;

}

A:visited {

text-decoration: none;

color: #879599;

}

A:hover {

text-decoration: underline overline;

color:#000;

}

-->

</style>
Copy linkTweet thisAlerts:
@jonathanhouauthorFeb 14.2005 — Thanks! One question though, how do I make the "one" link different though?
Copy linkTweet thisAlerts:
@NogDogFeb 14.2005 — [i]Originally posted by jonathanhou [/i]

[B]Thanks! One question though, how do I make the "one" link different though? [/B][/QUOTE]

You could do it by giving it a class:
<i>
</i>...top of page, including &lt;head&gt; tag...
&lt;style type="text/css"&gt;
a.special:link, a.special:visited, a.speical:active {
color: #0066cc";
}
a.special:hover {
color: #ff3399";
}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
...body of page...
&lt;p&gt;Sample paragraph with a
&lt;a href="special.html" class="special"&gt;special link&lt;/a&gt;.&lt;/p&gt;
...rest of page...
Copy linkTweet thisAlerts:
@soccer362001Feb 14.2005 — EDIT: I've been beaten!
Copy linkTweet thisAlerts:
@jonathanhouauthorFeb 14.2005 — Cool, thanks.
Copy linkTweet thisAlerts:
@fredmvFeb 15.2005 — If it's only one link however, an ID would be more appropriate.
×

Success!

Help @jonathanhou 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 5.18,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...