SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: linking colours
-
Nov 26, 2000, 09:24 #1
- Join Date
- Oct 2000
- Posts
- 430
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Is it possible to have 2 different coloured types of links on the same page?
I've used CSS for the link definition. I can manage to change specific links to different colours if I overide the CSS by using the font tag inside the CSS - however this stops the hover, and visted CSS styles as well.
Any solutions?
-
Nov 26, 2000, 11:25 #2
- Join Date
- Jan 2000
- Location
- Charlotte, NC
- Posts
- 5,891
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Code:<STYLE> A.menu{text-decoration:none;color:white;} A.side{text-decoration:none;color:white;} A.header{text-decoration:none;color:white;} </STYLE>
Code:<A class="menu" href="whatever.com">
-
Nov 26, 2000, 15:35 #3
- Join Date
- Sep 2000
- Location
- Chicago
- Posts
- 526
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I may be mistaken but I believe this is quick method
<a href="whatever" style="color:green;">Link</a>
-
Nov 27, 2000, 11:46 #4
- Join Date
- Oct 2000
- Location
- Nashvegas Baby!
- Posts
- 7,845
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Chiliboy...to expand on what M James said:
a:link { font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; font-size: 9pt; font-weight: bold; }
a:hover { font-family: Arial, Helvetica, sans-serif; color: #66FF00; font-size: 9pt; font-weight: bold; }
a:visited { font-family: Arial, Helvetica, sans-serif; color: #666666; font-size: 9pt; font-weight: bold; }
a:visited:hover { font-family: Arial, Helvetica, sans-serif; color: #66FF00; font-size: 9pt; font-weight: bold; }
a.footer:link { font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; font-size: 9pt; font-weight: bold; }
a.footer:hover { font-family: Arial, Helvetica, sans-serif; color: #66FF00; font-size: 9pt; font-weight: bold; }
a.footer:visited { font-family: Arial, Helvetica, sans-serif; color: #cccccc; font-size: 9pt; font-weight: bold; }
a.footer:visited:hover { font-family: Arial, Helvetica, sans-serif; color: #66FF00; font-size: 9pt; font-weight: bold; }
Adobe Certified Coldfusion MX 7 Developer
Adobe Certified Advanced Coldfusion MX Developer
My Blog (new) | My Family | My Freelance | My Recipes
-
Nov 27, 2000, 19:19 #5
- Join Date
- Jan 2000
- Location
- Charlotte, NC
- Posts
- 5,891
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by goughb
I may be mistaken but I believe this is quick method
<a href="whatever" style="color:green;">Link</a>
Bookmarks