/    Sign up×
Community /Pin to ProfileBookmark

Link NOT Change color

How to make links not change color when the mouse is over it.
Sounds easy but everyone always has to have their links change color. Atleast that was all I could find on google.
Nice and easy. I need the code.
thxs

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@starrwriterAug 05.2003 — [i]Originally posted by PrinBrando [/i]

[B]How to make links not change color when the mouse is over it.[/B][/QUOTE]


Links don't change color on mouseover unless you specify this function in a stylesheet. No stylesheet, no color change on mouseover.

If you meant change color after clicking, just set all link attributes to the same color in the stylesheet: normal link, link hover, active link and visited link.
Copy linkTweet thisAlerts:
@PeOfEoAug 05.2003 — you can make a table cell change color in a mousover without a style sheet... but here is my code to make a link change colors, its called a hoverlink.

<style type="text/css">

a:link {color:#00ffff;text-decoration:none;}

a:visited {color:#00ffff;text-decoration:none;}

a:hover {color:#4682b4;text-decoration:none;}

a:active {color:#00ffff;text-decoration:none;}

</style>

Simply edit the colors and place it in the head of your page it will remove the underlines from your links and change the color when the mouse is over them, it will affect all links though just so you know.
×

Success!

Help @PrinBrando 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.25,
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,
)...