954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

CSS Style : Links

I want to have an alternative Link colour - once set in the page properties bit in dreamweaver I can't get it to do another option.... how do I get it to create a second option?? Thanks

Wibby
Newbie Poster
3 posts since Jun 2007
Reputation Points: 10
Solved Threads: 0
 

your could add some code like this

<html>
<head>
    <style type="text/css">
    <!--
    .textstyle{
        color: #aaaaaa;
    }
    -->
    </style>
</head>
<body>
    <a href="" class="textstyle">link</a>
</body>
</html>
Cerberus
Junior Poster
162 posts since Sep 2006
Reputation Points: 27
Solved Threads: 14
 

you need to look at your style sheet and see what it says for the a:link element and then set that to the color you want.

If that doesnt help please could you repost your problem because I really dont properly understand it.

roryt
Nearly a Posting Virtuoso
1,286 posts since Oct 2005
Reputation Points: 178
Solved Threads: 15
 

I have set that, however I would like to have a second option for a different colour - how do I set it to have more than one? Thanks

Wibby
Newbie Poster
3 posts since Jun 2007
Reputation Points: 10
Solved Threads: 0
 

I think I understand now. Basically you need to just set a class for all the links you want to display in the alternate color.

like cerberus said above. If you need anymore help just post back.

btw. if they are all in the same area there is a different way of doing it. please let me know if they are.

roryt
Nearly a Posting Virtuoso
1,286 posts since Oct 2005
Reputation Points: 178
Solved Threads: 15
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You