linking websites

Forum home » Delegate support and help forum » Dreamweaver Training and help » Linking websites

Linking websites

resolvedResolved · Low Priority · Version CS3

Luke has attended:
Dreamweaver 8 Introduction course

Linking websites

Changing colours to the links?

RE: Linking websites

Hi Luke,

Thanks for your question. I hope you enjoyed the Dreamweaver training.

I did answer this post a while ago, same question:
https://www.stl-training.co.uk/post-892-how-do-you-change.html #899

It's best to use CSS to control the colours of your links.
A link tag, as you know, is simply 'a' for anchor.
In CSS you use the 4 selector classes to indicate the style per state of link, like this:

a:hover
a:link
a:visited
a:active

If you define a different style for each of these, your web page should show different styles -and colours if specified- for your links.

Keep in mind that most web users are used to seeing links as Blue. So if you've chosen another colour (perhaps to match your design), I'd recommend ensuring your links are underlined, and no other text is underlined. Visitors expect links to be underlined.

It's frustrating, isn't it, when you click some underlined text and it isn't actually a link. Likewise, if you don't underline your links, most visitors won't realise where your links are. (ie. they have to hover over all your text to 'find' the links - awful!)

So some example CSS code for you, Luke, might be this:
a:link {
color: red;
}
a:hover {
color: green;
weight: bold;
}

This will make all your links red, and when the mouse is hovered over them, they will turn green and bold.

If you have any trouble, post a follow up reply to this thread, and I'll assist you further.

If this answer resolves your query, please mark the question as 'resolved' (see below). Otherwise, please post a follow-up response to this post, and I will assist you further.

Regards, Rich

Fri 1 May 2009: Automatically marked as resolved.

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Dreamweaver tip:

Toggle panels on and off

Press the F4 key to toggle all the panels in Dreamweaver on or off. This gives you more editing and programming screen space.

View all Dreamweaver hints and tips


Server loaded in 0.06 secs.