• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

problem mit tr & td / id und class

Status
Für weitere Antworten geschlossen.

cruizer.eu

Neues Mitglied
Habe auf der linken Seite ein Menu.

Unterteilt in "rubrik", "titel" und halt keins. Es soll ein weiteres dazu kommn - "umenu".

Das "umenu" soll aber nur zeilenweise (also in nur ein paar <tr>´s) vorkommen.

Muss ich das umenu im css als class oder als id festsetzen?

Hier auszug aus css:

Code:
.titel{background-color:#e93b3f; color:#ffffff;
text-decoration:none ;font-family:verdana, sans-serif; font-size: 10pt;
width:192px;
border-bottom:solid 1px #eaeaea;
line-height:20px;
height:20px;
padding-left:5px;
}
.rubrik{background-color:#000000; color:#e93b3f;   text-decoration:none ;font-family:verdana, sans-serif; font-size: 10pt;width:192px;
border-bottom:solid 1px #eaeaea;
line-height:20px;
height:20px;
padding-left:5px;
}

#umenu a {display: right;
background-color:#333333;
color:#444444;text-decoration:none;font-family:verdana, sans-serif; font-size: 8pt;
border-bottom:solid 1px #e6e6e6;
line-height:20px;
height:20px;
width:192px;
padding-left:5px;

}

#menu a {display: block;
background-color:#000000;
color:#ffffff;text-decoration:none;font-family:verdana, sans-serif; font-size: 10pt;
border-bottom:solid 1px #e6e6e6;
line-height:20px;
height:20px;
width:192px;
padding-left:5px;

}

#menu a:visited{
background-color:#000000;
color:#ffffff;text-decoration:none;font-family:verdana, sans-serif; font-size: 10pt;
border-bottom:solid 1px #e6e6e6;
line-height:20px;
height:20px;
width:192px;
padding-left:5px;

}

#menu a:active{
background-color:#000000;
color:#ffffff;text-decoration:none;font-family:verdana, sans-serif; font-size: 10pt;
border-bottom:solid 1px #e6e6e6;
line-height:20px;
height:20px;
width:192px;
padding-left:5px;
}


#menu a:hover {
background-color:#ffffff;
color:#000000;
text-decoration:none;font-family:verdana, sans-serif; font-size: 10pt;
border-bottom:solid 1px #e6e6e6;
line-height:20px;
height:20px;
width:192px;
padding-left:5px;
}
Und hier aus der html:

Code:
<td   valign="top" width="191"  class="nav"  >

<table width="191" border="0" cellpadding="0" cellspacing="0"    id="menu" align="center" >
<tr>
<td class="titel">Navigation</td>
</tr>
<tr>
<td class="rubrik">Treffen</td>
</tr>
<tr>
<td ><a href="2007.html" title="Treffen von 2007">Saison 2007</a></td>
</tr>
<tr>
<td ><a href="2008.html" title="Treffen von 2008">Saison 2008</a></td>
</tr>
<tr>
<td><div id="umenu"><a href="0801.html" title="13.04.2008">AMI Leipzig 2008</a></div></td>
</tr>
<tr>
<td class="rubriK">Sonstiges</td>
</tr>
<tr>
<td><a href="fakes.html" title="Fakes">Fakes</a></td>
</tr>
<tr>
<td><a href="http://screenshots.cruizer.eu" title="Screenshors">Screenshots</a></td>
</tr>
</table>
</td>
was ist falsch? Hoffe ihr könnt mir helfen?! ;Jump
 
Zuletzt bearbeitet von einem Moderator:
Werbung:
Schau dir bitte mal die Forenregeln an und verwende die Code-Tags, wenn du Codes im Forum postest.
Danke.
 
Werbung:
Status
Für weitere Antworten geschlossen.
Zurück
Oben