Om nah hoo pez nyeetz, Sunny!
.avg .avg,
.bob .bob,
... {
background: orange;
}
>
> > <td id="m"><a href="AVG.php" target="\_self" id="r" name="AVG">AVG</a></td>
>
> ~~~html
<body class="avg">
> ...
> <td id="m" class="avg"><a href ...>AVG</a></td>
> ...
> <td id="m" class="bob"><a href ...>BOB</a></td>
Für jedes Dokument änderst du den Klassenbezeichner des body-Elements.
PS: Eine ID darf es im gesamten Dokument nur ein einziges Mal geben.
Matthias
So sieht die AVG-Seite jetzt auf dem Server aus:
<!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" />
<base target="Hauptframe2" />
<link rel="stylesheet" type="text/css" href="../../ZugMenue.css" />
<style type="text/css">
.avg .avg,
.bob .bob,
.db .db,
.erb .erb,
.hex .hex,
.me .me,
.neb .neb,
.nob .nob,
.nwb .nwb,
.odeg .odeg,
.osb .osb,
.sbb .sbb,
.sts .sts,
.sweg .sweg,
.wfb .wfb, {background:orange}</style>
<!--Counter-Code Anfang-->
<!--Counter-Code Ende-->
</head>
<body style="background-image:url('../../../../Backgrounds/11.jpg'); background-attachment:fixed" class="avg">
<div id="ue">Übersicht</div>
<center>
<table border="1">
<colgroup>
<col width="108px" />
<col width="108px" />
<col width="108px" />
<col width="108px" />
<col width="108px" />
<col width="108px" />
<col width="108px" />
<col width="108px" />
</colgroup>
<tr style="height:45px">
<td id="m" class="avg"><a href="AVG.php" target="_self">AVG</a></td>
<td id="m" class="bob"><a href="BOB.php" target="_self">BOB</a></td>
<td id="m" class="db"><a href="DB.php" target="_self">DB</a></td>
<td id="m" class="erb"><a href="ERB.php" target="_self">ERB</a></td>
<td id="m" class="hex"><a href="HEX.php" target="_self">HEX</a></td>
<td id="m" class="me"><a href="ME.php" target="_self">ME</a></td>
<td id="m" class="neb"><a href="NEB.php" target="_sel">NEB</a></td>
<td id="m" class="nob"><a href="NOB.php" target="_self">NOB</a></td>
</tr>
<tr style="height:45px">
<td id="m" class="nwb"><a href="NWB.php" target="_self">NWB</a></td>
<td id="m" class="odeg"><a href="ODEG.php" target="_self">ODEG</a></td>
<td id="m" class="osb"><a href="OSB.php" target="_self">OSB</a></td>
<td id="m" class="sbb"><a href="SBB.php" target="_self">SBB</a></td>
<td id="m" class="sts"><a href="STS.php" target="_self">STS</a></td>
<td id="m" class="sweg"><a href="SWEG.php" target="_self">SWEG</a></td>
<td id="m" class="wfb"><a href="WFB.php" target="_self">WFB</a></td>
<td id="m" class=""> </td>
</tr>
</table>
Aber orange markiert ist die Zelle der AVG leider immer noch nicht.