text color of links

Post links to your Project Three websites for discussion and feedback.
Locked
User avatar
miss_kristine
Posts: 67
Joined: Mon Aug 29, 2011 7:21 pm
Location: reno,nv
Contact:

text color of links

Post by miss_kristine »

How do we change the text color of links, etc. again?
Kristine Toward

User avatar
Instructor
Site Admin
Posts: 1869
Joined: Thu Jul 21, 2011 8:51 am

Re: text color of links

Post by Instructor »

You want to use pseudo-class styles to style your links. So in Dreamweaver, make a new style, select "Advanced", click on the arrow next to the "Selector" text area and find "a:link". That will control your link text color, effects, blink (don't use blink), background images, etc.

There are four that you can use:

a:link - This controls your link appearance.
a:visited - This controls the appearance of the links that have already been visited.
a:hover - This controls the appearance that links change to when you mouse over them.
a:active - This controls what color or appearance links flash when you click on them.

Apply these in this order or they will interfere with one another.

Here's a couple of links and videos that delve into this process:

http://www.brighthub.com/internet/web-d ... 84591.aspx

http://www.smartwebby.com/web_site_desi ... styles.asp

[/youtube]

[/youtube]

Post here or ping me if you have further questions.
"Inspiration is for amateurs. The rest of us just show up and get to work." — Chuck Close

Michael Ganschow-Green - GRC 175 Instructor
mganschow@tmcc.edu | 673-8200 ext.5-2173

Locked