• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 167
  • Last Modified:

Link with stylesheet will not stay blue

Hi,

I use this style sheet with:

a.bluelink:link {font-family: arial; font-size: 12px; color: 0000FF; font-weight: bold; text-decoration: none}
a.bluelink:visited {font-family: arial; font-size: 12px; color: 0000FF; font-weight: bold; text-decoration: none}
a.bluelink:active {font-family: arial; font-size: 12px; color: 0000FF; font-weight: bold; text-decoration: none}
a.bluelink:hover {font-family: arial; font-size: 12px; color: 0000FF; font-weight: bold; text-decoration: underline}

After someone visited the link the volor is not 0000FF ant more.

How to set this color on 0000FF???

Thanks,
HPvH
0
HPvH
Asked:
HPvH
  • 2
1 Solution
 
iPromoExpertCommented:
if all of your links stay the same color regardless of visted/hover/active then why not do

a.bluelink {font-family: arial; font-size: 12px; color: 0000FF; font-weight: bold; text-decoration: none}
0
 
iPromoExpertCommented:
and shouldn't color have a # before it???

a.bluelink {font-family: arial; font-size: 12px; color: #0000FF; font-weight: bold; text-decoration: none}
0
 
Lolly-InkCommented:
Your style sheet is valid. If you are experiencing a problem with the colour of your links, then you should check that you are assigning the bluelink class to your links.
For example:

<a class="bluelink" href="http://www.google.com">Google</a>

Open in new window

0
 
David S.Commented:
> Your style sheet is valid.

What? "0000FF" is not a valid color. "#0000FF" is a valid color.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now