Set style for a:link and a:visited
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>*KHAKI*</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style rel="stylesheet" type="text/css">
#navlist {
padding: 0.5em 0;
margin: 0 0 20px 0;
text-align: left;
letter-spacing: 5px;
background: #BC5510;
}
#navlist li {
list-style: none;
margin: 0;
display: inline;
}
#navlist li a {
padding: 0.5em 0.5em;
margin: 0;
color: #000;
background: #BC5510;
text-decoration: none;
}
#navlist li a:link,#navlist li a:visited {
color: #000;
background: #BC5510;
}
#navlist li a:hover {
color: yellow;
background: transparent url(img/menu_arrow.gif) bottom center no-repeat;
}
#navlist li a#current {
color: #fff;
background: transparent url(img/menu_arrow.gif) bottom center no-repeat;
}
</style>
</head>
<body>
<div id="navcontainer">
<ul id="navlist">
<li><a href="">HOMEPAGE</a></li>
<li id="active"><a id="current" href="">ABOUT</a></li>
<li><a href="">GALLERY</a></li>
<li><a href="">LINKS</a></li>
<li><a href="">SERVICE</a></li>
<li><a href="">CONTACT</a></li>
</ul>
</div>
</body>
</html>
Related examples in the same category