Hi there! Just want to know how to make a category highlighted after user click on it, so he will able to track on which category he is currently on?
I've already created 3 categories (links) through creating library elements, I already have the hover effect I made through CSS external stylesheet, everything works, but the category is not highlighted when I browse within it.
Here is my HTML code of these 3 links:
<td bgcolor="#663300"><!-- #BeginLibraryItem "/Library/Top_links.lbi" -->
<div align="right" class="link"><a href="index.html">Home</a> <a href="Accessories.html">Accessories</a> <a href="Contact Us.html">Contact Us</a> </div>
<!-- #EndLibraryItem --></td>
And here is my CSS code for these links:
.link, .link a:link, .link a:visited, .link a:active {
font-family: "Times New Roman", Times, serif;
font-size: 18px;
font-weight: normal;
color: #FFFF33;
text-decoration: none;
padding: 5px;
#home: color:#00FFFF;
}
.link a:hover {
font-family: "Times New Roman", Times, serif;
font-size: 18px;
font-weight: normal;
color:#FF0000;
text-decoration: none;
}
So how to make the active link highlighted when browsing within it??
Thank you
http://alt-web.com/Articles/Persistent-Page-Indicator.shtml
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
My pages are offline in developing stage, can't give you an URL.
Here is my HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>untitled</title>
<link href="css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
</style>
</head>
<body class="home">
<table width="450" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#663709"><!-- #BeginLibraryItem "/Library/Top_links.lbi" -->
<div align="right" class="link"><a class="home" href="index.html">Home</a> <a href="Accessories.html">Accessories</a> <a href="Contact Us.html">Contact Us</a> </div>
<!-- #EndLibraryItem --></td>
</tr>
And here is my CSS:
body {
background-image: none;
background-color: #2d2625;
}
body,td,th {
}
.link, .link a:link, .link a:visited, .link a:active {
font-family: "Times New Roman", Times, serif;
font-size: 18px;
font-weight: normal;
color: #FFFF33;
text-decoration: none;
padding: 5px;
#home: color:#00FFFF;
}
.link a:hover {
font-family: "Times New Roman", Times, serif;
font-size: 18px;
font-weight: normal;
color:#FF0000;
text-decoration: none;
}
What should I modify?
North America
Europe, Middle East and Africa
Asia Pacific