/    Sign up×
Community /Pin to ProfileBookmark

when i make a link is there a way i can change the color and take away the underline?

thanks for your help

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@Tweak4Jul 06.2005 — Use CSS
<style type="text/css">

a {

color: #0066CC;

text-decoration: none;

}

</style>[/QUOTE]
Copy linkTweet thisAlerts:
@Falcone86authorJul 06.2005 — thanks. where would i put that in the text im not familiar with css yet
Copy linkTweet thisAlerts:
@Tweak4Jul 06.2005 — No problem... that whole <style></style> block goes up somewhere inside of the <head> section in your document.

The way that is set up right now, it will apply those settings to every link on your page. If you only want it to apply to certain ones, you can rename it
.className {

color: #0066CC;

text-decoration: none;

}[/QUOTE]

Then in your links, assign a class as follows:
<a href="www.google.com" class="className">link</a>[/QUOTE]

That way, the settings will only be picked up by links where you include that "class=" attribute.
Copy linkTweet thisAlerts:
@rhsundergroundJul 06.2005 — <html>

<head>

<title></title>

<style type="text/css">

a {

color: #0066CC;

text-decoration: none;

}

</style>

</head>

<body>

blah blah blah

</body>

</html>

edit:

good explanation, tweak
Copy linkTweet thisAlerts:
@Falcone86authorJul 06.2005 — great. thanks for your help
×

Success!

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