Hi,
wie kann ich einen Eintrag einer Liste einer anderen Klasse zuordnen als die restlichen Einträge?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Das style-Element</title>
<style type="text/css">
<!--
#hNav li {
background-color: #dbf497;
border-width: 1px;
border-style: solid;
border-color: #d6d6d6;
}
.activeHNav {
background-color: blue;
}
-->
</style>
</head>
<body>
<ul id="hNav">
<li class="activeHNav"><a href="?bqGroup=101">Gruppe 101</a></a></li>
<li><a href="?bqGroup=102">Gruppe 102</a></a></li>
<li><a href="?bqGroup=103">Gruppe 103</a></a></li>
<li><a href="?bqGroup=999">Gruppe 999</a></a></li>
</ul>
</body>
</html>
Der erste <li> soll der class "activeHNav" zugeordnet werden und entsperchend blauen Hintergrund haben. Hat er aber nicht. Was mache ich falsch?
Gruß
Ralf