English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

(See below link)

The first link is #990000 which is fine, however i want the second link to be #33CC33 as is the colour of the text lower down. I'm sure this is really simple and maybe the penny might drop soon but for now this is really got me stumped.

Any suggestions? (i'm using dreamweaver 8)

Please see page:
http://www.ptarmiganpr.co.uk/test/linktest1.html

2006-11-09 02:07:38 · 2 answers · asked by thedaveidentity 1 in Computers & Internet Programming & Design

Cheers that makes sense, i've leant a lot from that :-)

2006-11-09 03:39:53 · update #1

2 answers

You've done well, you're nearly there.



That's what you need to have in your style declaration. Instead of using the class .style1 you've created separately, you need to create some new instaces of the anchor tag using .style1 by use of the syntax above.

I hope that makes sense. You can then remove your class .style1 from the first link and they'll both be different.

If that's not what you're trying to do - post an update to your question and I'll take another look.

All the best!

2006-11-09 02:21:22 · answer #1 · answered by Alasdair P 3 · 1 0

You can also do this on an individual link basis. You'll set up your a link style in your css like so (but with your own colors):

a.nav3:link {color: #FFCC00;
text-decoration: none}
a.nav3:visited {color: #000000;
text-decoration: none}
a.nav3:hover {color: #FFFFFF;
text-decoration: underline}

Then in the where you state the link address, you will state class="nav3" (along with your href="site"). You can use nav1, nav2, nav85, etc.

2006-11-09 04:34:14 · answer #2 · answered by Phoenix, Wise Guru 7 · 0 0

fedest.com, questions and answers