CSS Style : Links

Reply

Join Date: Jun 2007
Posts: 3
Reputation: Wibby is an unknown quantity at this point 
Solved Threads: 0
Wibby Wibby is offline Offline
Newbie Poster

CSS Style : Links

 
0
  #1
Jun 9th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 162
Reputation: Cerberus is an unknown quantity at this point 
Solved Threads: 14
Cerberus Cerberus is offline Offline
Junior Poster

Re: CSS Style : Links

 
0
  #2
Jun 10th, 2007
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>
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 1,283
Reputation: roryt will become famous soon enough roryt will become famous soon enough 
Solved Threads: 14
roryt's Avatar
roryt roryt is offline Offline
Nearly a Posting Virtuoso

Re: CSS Style : Links

 
0
  #3
Jun 12th, 2007
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.
PhotoShopthis
FlyingPen
If I have helped you please add to my reputation
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 3
Reputation: Wibby is an unknown quantity at this point 
Solved Threads: 0
Wibby Wibby is offline Offline
Newbie Poster

Re: CSS Style : Links

 
0
  #4
Jun 12th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 1,283
Reputation: roryt will become famous soon enough roryt will become famous soon enough 
Solved Threads: 14
roryt's Avatar
roryt roryt is offline Offline
Nearly a Posting Virtuoso

Re: CSS Style : Links

 
0
  #5
Jun 12th, 2007
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.
PhotoShopthis
FlyingPen
If I have helped you please add to my reputation
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC