FancyPrairie
Programmer
I've created a list of items but am having trouble highlighting the selected item. In the example below I've simplified what I'm attempting to do. In this simplified version I can't even get the active to work correctly. Anyway, when the user selects an item, I want to highlight the item selected. What am I doing wrong?
Code:
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml"[/URL] >
<head>
<title>Untitled Page</title>
<STYLE type=text/css >
ul
{
list-style-type:none;
margin:0;
padding:0;
overflow:hidden;
}
li
{
float:left;
top: 0px;
}
a
{
color: magenta
}
a:link, a:visited
{
color: purple
}
a:hover
{
color: green
}
a:active
{
color: red:
}
a:selected
{
color: blue
}
</STYLE>
</head>
<body>
<ul id="navigation" ><li value="0"><a href="#" >
<span>Requester</span></a></li>
<li value="1" ><a href="#" >
<span>Contact</span></a></li>
</ul>
</body>
</html>