/    Sign up×
Community /Pin to ProfileBookmark

Fancy Links?

hi everyone?

please help.

I want to know how make a none underline link that when the mosue is placed over (without clicking it) change the color of the text, so you know is an active link…

actually how to change the color of the little square backgroud of the text when the mouse is placed over (without clicking it) will be good to know aswell.

i hope you can help me?

thank you.

C.

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@nkaisareApr 17.2003 — [i]Originally posted by Cindy [/i]

[B]I want to know how make a none underline link that when the mosue is placed over (without clicking it) change the color of the text, so you know is an active link...[/B][/QUOTE]

Did you mean you want an arbitrary text to act like a link text (as in change color when mouse gets over the link)?

If you want to do the hover effect with links, you can use CSS. The following will go in <head></head> in your document.
<i>
</i>&lt;style type="text/css"&gt;
a {text-decoration: none; color: blue}
a:hover {color: red}
&lt;/style&gt;

The [b]:hover[/b] pseudo-class (thats its official name ?) can't be applied to an arbitrary element**.
-----



PS:

**: With netscape, :hover works with an arbitrary element, but not with IE
×

Success!

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