Jun 16, 2003 #1 Aeros Programmer Oct 7, 2002 166 US Is it possible to have multiple visited link colors in a single page? If so how woudl this be done? Thanks
Is it possible to have multiple visited link colors in a single page? If so how woudl this be done? Thanks
Jun 16, 2003 #2 Mr3Putt Programmer May 27, 2003 320 IN You'll need to add "classes" to your links, and define colors for them. Something like: <style type="text/css"> .blueLink A:visited {color:#0000cc;} .redLink A:visited {color:#ff0000;} .greenLink A:visited {color:#00cc00;} </style> <a class="blueLink" href="somepageB.htm">blue link</a> <br> <a class="redLink" href="somepageR.htm">red link</a> <br> <a class="greenLink" href="somepageG.htm">green link</a> Upvote 0 Downvote
You'll need to add "classes" to your links, and define colors for them. Something like: <style type="text/css"> .blueLink A:visited {color:#0000cc;} .redLink A:visited {color:#ff0000;} .greenLink A:visited {color:#00cc00;} </style> <a class="blueLink" href="somepageB.htm">blue link</a> <br> <a class="redLink" href="somepageR.htm">red link</a> <br> <a class="greenLink" href="somepageG.htm">green link</a>
Jun 16, 2003 #3 ChrisHunt Programmer Jul 12, 2002 4,056 GB See faq215-1491 for cian's excellent tutorial on this kind of thing. -- Chris Hunt Extra Connections Ltd http://www.extracon.com The real world's OK for a visit, but you wouldn't want to LIVE there! Upvote 0 Downvote
See faq215-1491 for cian's excellent tutorial on this kind of thing. -- Chris Hunt Extra Connections Ltd http://www.extracon.com The real world's OK for a visit, but you wouldn't want to LIVE there!