SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: Linking colors
-
Jan 10, 2000, 22:21 #1
- Join Date
- Jul 1999
- Location
- Powder Springs GA (Atlanta)
- Posts
- 1,238
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hey all i need to know how i go about changing the link color for various links on a page.
I have a section that is one color that when it's link is another. but the linked color does not look well on another portion of the page.
i'd love to provide a URL but i'm not quite ready for it yet.
------------------
Eric Jones
http://www.quixtar.com
IBO# 1121278
E-mail me for a 1-1 talk about setting up your dream business.
mailto:jonese@gci-net.com
-
Jan 10, 2000, 22:39 #2
Like this:
<a href="/url"><font color="link color 1">Go here</font></a>
<a href="/someotherurl"><font color="link color 2">go here too</font></a>
-
Jan 10, 2000, 23:06 #3
- Join Date
- Feb 2000
- Location
- San Diego, CA
- Posts
- 169
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If you plan on using CSS on your site use the following code(s):
This is a general CSS link rollover code:
<style>
<!--
A:link {text-decoration: none; color: "#0052ff";}
A:visited {text-decoration: none; color:"#0052ff";}
A:hover {text-decoration: none; color: "black"}
A:active {text-decoration: none; color:"black";}
-->
</style>
Now, rather than just those codes, make them look like the following:
A.Test:link {TEXT-DECORATION: none; color: white }
Notice that we have changed the A:link to A.Test:link. Now, change the new rollover colors etc. for .Test and remember to add the .Test after the A. (You can name it A.Whatever)
Ok, when you make an anchor and you want it to show the "A.Test" colors, simply add class="test" somewhere in the anchor code.
Hope this helps!
------------------
Isaiah Walter
Founder and Owner of Federation Fire
Professional Internet Presence Provider
-
Jan 11, 2000, 00:42 #4
- Join Date
- Jul 1999
- Location
- Powder Springs GA (Atlanta)
- Posts
- 1,238
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Yea i'vee thought about the implications. but the standard Blue text does not jve with the rest of the site. i'll hae a demo up for everyone to see one the site it refined.
------------------
Eric Jones
http://www.quixtar.com
IBO# 1121278
E-mail me for a 1-1 talk about setting up your dream business.
mailto:jonese@gci-net.com
-
Jan 11, 2000, 04:13 #5
- Join Date
- Jul 1999
- Location
- Lancashire, UK
- Posts
- 8,277
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Have you thought about the implications of changing link colors?
Check out Jakob Nielsen's WebSite - all about making the Web usable!
------------------
Webmaster of Gib-Online Dot COM (or webmistress for that matter!)
www.gib-online.com
The Rock of Gibraltar on the WEB
Bookmarks