You can have different hyperlinks' styles in the same page.
For better help, please show us that part of your CSS.
Hyperlink Colours
Moderators: egami, macek, gesf
Sincerely,
Gonçalo "gesf" Fontoura
gesf.org | sessionstart.com | urlms.com
Gonçalo "gesf" Fontoura
gesf.org | sessionstart.com | urlms.com
Example:
Code: Select all
<html>
<head>
<title>Style</title>
<style type="text/css">
/* Tags using classes 1 and 2 */
.1 a, a:visited, a:link, a:hover, a:active {
color: #1B73A3; text-decoration: none;
}
.1 a:hover {
color: #ff8500; text-decoration: none;
}
.2 a, a:visited, a:link, a:hover, a:active {
color: #000000; text-decoration: none;
}
.2 a:hover {
color: #aaaaaa; text-decoration: none;
}
/* Tag with id = 3 */
#3 a, a:visited, a:link, a:hover, a:active {
color: #000000; text-decoration: none;
}
#3 a:hover {
color: #aaaaaa; text-decoration: underline;
}
</style>
</head>
<body>
<div class="1">First style</div>
<div class="2">Second style</div>
<table>
<tr>
<td class="1">First style</td>
<td id="3">Third style</td>
</tr>
</table>
</body>
Sincerely,
Gonçalo "gesf" Fontoura
gesf.org | sessionstart.com | urlms.com
Gonçalo "gesf" Fontoura
gesf.org | sessionstart.com | urlms.com
You can set them all to the same color if you never want the link color to change. To set the color simply put an = sign than the desired color in brackets.
http://www.coderewind.com
Best Place to hunt for Code
Best Place to hunt for Code
there's quite a few nice effects you can do with the fonts that way, I think that style='font-variant: small-caps' in a rather nice one.
anyway, that style sheet, you can even put it in another document, and then use it for the whole website.. CSS is really handy and just as simple as HTML
anyway, that style sheet, you can even put it in another document, and then use it for the whole website.. CSS is really handy and just as simple as HTML