ah ok. nettes battle. ich hab das jetzt so probiert:
css:
HTML-Code:
<style type="text/css">
body,td,th {
font-family: Verdana, Geneva, sans-serif;
font-size: 12px;
color: #000;
}
body {
background-color: #FFF;
}
a {
font-size: 12px;
color: #000;
font-weight: bold;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000;
}
a:hover {
text-decoration: none;
color: #09C;
}
.active {
color: #09C;
}
</style>
menü:
PHP-Code:
<table width="100%">
<tr>
<td width="79%" height="10"><strong><a <? if ($_GET['page'] == "start") echo "class='active'"; ?> href="index.php?page=start">home</a></strong></td>
</tr>
<tr>
<td height="10"><strong><a <? if ($_GET['page'] == "music") echo "class='active'"; ?> href="index.php?page=music">music</a></strong></td>
</tr>
</table>
funktioniert net. also beide varianten. mach ich da noch was falsch?