Active Links
Hi,
I want to have 2 different active links, how do i go about this.
What i mean the page your on is blue but all other active links are white, underlines, etc..
Thanks
Lee
Hi,
I want to have 2 different active links, how do i go about this.
What i mean the page your on is blue but all other active links are white, underlines, etc..
Thanks
Lee
kazimmerman posted this at 15:49 — 24th July 2007.
He has: 698 posts
Joined: Jul 2005
Perhaps I have misunderstood what you mean, but from what I understand, you could simply use two different classes for the a tags, like this:
<html>
<head>
<style type="text/css">
a.classOne:active {
color: blue;
}
a.classTwo:active {
color: white;
}
</style>
</head>
<body>
<a class="classOne">This link appears blue when active.</a>
<a class="classTwo">This link appears white when active.</a>
</body>
</html>
Kurtis
Lemur posted this at 07:31 — 25th July 2007.
He has: 13 posts
Joined: May 2007
Much appreciated!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.