Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-19-2004, 07:52 AM   #1
Member (7 bit)
 
Join Date: Nov 2004
Posts: 109
Post Font Color

Greetings!
How can I set the color below so all the links are the same without having to put the "Font Color=" script on every link?

Amco
APW
Aleco

Thanks,
Jack
smilinjack is offline   Reply With Quote
Old 11-19-2004, 07:54 AM   #2
Member (1 million bit!)
 
mrmister1's Avatar
 
Join Date: Feb 2003
Location: NY
Posts: 1,160
Just put the tag at the beginning of the first link and at the end of the last link.

Just do:
HTML Code:
<font color="blue"><a href="link 1"></a><a href="link 2"></a><a href="link 3"></a></font color>
__________________
Black X-Dreamer Case | Intel Pentium 4 2.66 GHz | Intel D845PESVL | 512 MB PC2700 DDR-SDRAM | WD 120 GB Special Edition | Pioneer 16x DVD-ROM | Mitsumi 3.5-inch 1.44 MB | ATi Radeon 9800 Pro | Creative Labs Sound Blaster Live! 5.1

mrmister1

Last edited by mrmister1; 11-19-2004 at 07:56 AM.
mrmister1 is offline   Reply With Quote
Old 11-19-2004, 10:49 AM   #3
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
The <font> tag is deprecated and shouldn't be used at all. You should use CSS (Stylesheets). You can use internal, external or inline style tags. Here is the inline.

In you links:
<a style="color:red" href="#">Red Link</a>
yields Red Link
<a style="color:blue" href="#">Blue Link</a>
yields Blue Link
<a style="color:green" href="#">Green Link</a>
yields Green Link

You can also specify the color by #FF0000 = red and other variations.
__________________

Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row
mairving is offline   Reply With Quote
Old 11-19-2004, 11:03 AM   #4
Member (7 bit)
 
Join Date: Nov 2004
Posts: 109
Font Color

Thanks Mairving,
I need to have the same color for all links if that is possible without having the spcript fo every link.
I use this on all of my pages but need different colors for each.
Could you be so kind to check out: http://www.equipmentpolice.com/ice350.html
Maybe you can tell me where my mistake is.

Best regards,
Jack
smilinjack is offline   Reply With Quote
Old 11-19-2004, 11:50 AM   #5
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
In the head section of your site add something like this:

<style>
A { color:COLOR;}
A:link { color:#COLOR}
A:visited {color:#COLOR;}
A:active {color:#COLOR;}
A:hover {color:#COLOR;}
</style>

replacing COLOR with your color of choice. You don't have to specify all of these since they are inherited but it never hurts to do so. You can also control whether they are underlined or not. A good effect is to change color on mouseover (hover).
mairving is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:12 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2