944,149 Members | Top Members by Rank

Ad:
Jun 9th, 2007
0

CSS Style : Links

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Wibby is offline Offline
3 posts
since Jun 2007
Jun 10th, 2007
0

Re: CSS Style : Links

your could add some code like this

HTML and CSS Syntax (Toggle Plain Text)
  1. <html>
  2. <head>
  3. <style type="text/css">
  4. <!--
  5.   .textstyle{
  6.   color: #aaaaaa;
  7.   }
  8.   -->
  9. </style>
  10. </head>
  11. <body>
  12. <a href="" class="textstyle">link</a>
  13. </body>
  14. </html>
Reputation Points: 27
Solved Threads: 14
Junior Poster
Cerberus is offline Offline
162 posts
since Sep 2006
Jun 12th, 2007
0

Re: CSS Style : Links

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.
Reputation Points: 178
Solved Threads: 15
Nearly a Posting Virtuoso
roryt is offline Offline
1,282 posts
since Oct 2005
Jun 12th, 2007
0

Re: CSS Style : Links

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Wibby is offline Offline
3 posts
since Jun 2007
Jun 12th, 2007
0

Re: CSS Style : Links

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.
Reputation Points: 178
Solved Threads: 15
Nearly a Posting Virtuoso
roryt is offline Offline
1,282 posts
since Oct 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: centring an image in a css stylesheet
Next Thread in HTML and CSS Forum Timeline: Help me about Http Client Post method





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC