Results 1 to 11 of 11
Related
-
Help with text colors Forum: Myspace Forum
Replies: 0 -
Link colors Forum: CSS Forum
Replies: 7 -
Background colors. How? Forum: HTML Forum
Replies: 2 -
How do I change colors in the middle of a Webpage? Forum: HTML Forum
Replies: 3
-
02-17-2004, 11:11 PM #1
I don't want my links to change colors
Is that even possible?
There will be text in 3 different colors. The colors are codes for free items, paying items, and group items.
And they are links...
So I don't want the colors to be the active, visited, etc. link colors.
Maybe you experts know a trick or two to get around it.
-
02-18-2004, 12:56 AM #2
okay, it looks like you're going to want multiple colors of links on the same page, correct? if not, that's super simple, and i'll include that at the bottom, but here's how you would do multiple colors on the same page
here is example HTML code for two links, one being blue, and one being red, even if it is active, or has been visited:
Code:<a href="link1.htm" class="blue">Blue Link</a> <a href="link2.htm" class="red">Red Link</a>
Code:<style type="text/css"> <!-- a.blue:link {color: #0000ff;} a.blue:active {color: #0000ff;} a.blue:visited {color: #0000ff;} a.blue:hover {color: #0000ff;} a.red:link {color: #ff0000;} a.red:active {color: #ff0000;} a.red:visited {color: #ff0000;} a.red:hover {color: #ff0000;} --> </style>
If you just want to have one color for all the links on the page, and have them stay the same color, add the following attributes to the BODY tag:
Code:LINK="RED" ALINK="RED" VLINK="RED"
-
02-18-2004, 07:21 AM #3
-
05-15-2012, 08:45 PM #4
-
07-20-2012, 03:41 AM #5
-
07-20-2012, 04:56 AM #6
Re: I don't want my links to change colors
Hey For stopping color of anchor text you can you Style sheet(CSS) in CSS set the property of hover to same as anchor text for example.
a
{
font-color:#00cc00;
font-size:15px;
}
a:hover
{
font-color:#00cc00;
font-size:15px;
}
May this help you.
-
07-21-2012, 03:27 AM #7
-
07-25-2012, 12:41 AM #8
Re: I don't want my links to change colors
all the above post are good and informative. and no need to post any more answer as it is already solved and i hold the same opinion which is posted above.
-
08-27-2012, 12:59 PM #9
Re: I don't want my links to change colors
There is the same problem i am facing i do not want that my links will change color under <a> tag .
Please suggest me the easiest way as i am a beginner
-
03-03-2013, 02:42 AM #10
-
10-09-2014, 07:55 AM #11
Re: I don't want my links to change colors
you can define the link color which you would like to display in your .css file, that can helps you
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum