The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> A quick question...
Moon Reaper
post Nov 1 2006, 07:33 PM
Post #1





Group: Members
Posts: 1
Joined: 1-November 06
Member No.: 651



I can't remember how to change the font of a link. Can someone help me please?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
dougmanic
post Nov 1 2006, 08:03 PM
Post #2


Newbie
*

Group: Members
Posts: 19
Joined: 3-October 06
Member No.: 320



Best way is to use CSS to do it.

a {
color:#AAAAAA;
}

You can use font tags....

<a href="index.php"><font color="#AAAAAA">Link Here</font></a>

but I guess no one uses that anymore.


--------------------
Please visit my home website: Dougmanic's! And please send me some comments!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 2 2006, 07:36 AM
Post #3


.
********

Group: WDG Moderators
Posts: 6,146
Joined: 10-August 06
Member No.: 7



See the FAQ entry on fonts. Note that using only an A selector like
CODE
a {...}

will also affect named anchors like
CODE
<a name="foo">Foo</a>

To style links only you can use the :link and :visited pseudo-classes:
CODE
a:link, a:visited {...}


--------------------
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th October 2014 - 07:44 AM