I have 2 different links, I want one to be blue (as an example) and the other to be red... but for some odd reason I can't see what's causing all of the links to be the same colors.... can someone help?
Thanks in advance!
<M/>
170
Why so serious?
Featured Poster
Recommended Answers
Jump to PostCould you post your CSS file?
The easiest way to do it is with a class, something like this would work:.LinkA a:link{ font: 15px Arial; color: #FF0000; // Red text-decoration: underline; } .LinkB a:link{ font: 15px Arial; color: #000DFF; // Blue text-decoration: underline; }
Obviously …
Jump to PostNP,
You have four types of links,
a:link
a:active
a:visited
anda:hover
a:link
is your standard sort of link, the ones you see when you load the pagea:active
is the link which appears when you click, by default it is reda:visited
is after the link has been clicked, by default …
All 5 Replies
Octet
45
Newbie Poster
Featured Poster
<M/>
170
Why so serious?
Featured Poster
Octet
45
Newbie Poster
Featured Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
avinanuami
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.