Tabbellen-Zeile als Link?

Status
Nicht offen für weitere Antworten.
S

SilverVegeto

Hy,
ich möchte meine Navigationsleiste genauso machen wie auf "tutorials.de", dass wenn man in eine Tabbellen-Zeile mit dem MouseCursor fährt es makiert wird.
Leider schaff ich nur das die Tabbellen-Zeile makiert wird wenn man auf das Wort "Allgemeine Fragen" fährt.
Wir mach ich das wenn man in die Tabbellen-Zeile fährt schon die Zeile makiert wird?

class=Menu ist die CSS-Funktion

PHP:
<html>
<head>
<title>xxxxxxx</title>
<style type=text/css>
A:link {color: #E5E5E5; text-decoration: none}
A:visited {color: #E5E5E5; text-decoration: none}
A:active {color: #E5E5E5; text-decoration: none}
A:hover {color: #000000; text-decoration: none}
a.Menu {display: block; background-color: #98AABA; color: #E5E5E5;}
a.Menu:hover {background-color: #B0C5D9; color: #818F99;}
input {font-size: 10px; color: #000000; font-family: Verdana, Arial, Helvetica}
body {scrollbar-face-color: #98AABA; scrollbar-highlight-color: #98AABA; scrollbar-shadow-color: #999999; scrollbar-3dlight-color: #FFFFFF; scrollbar-arrow-color: #FFFFFF; scrollbar-track-color: #818F99; scrollbar-darkshadow-color: #666666}
</style>
</head>
<body bgcolor="#ABBFD1" scroll="no">
<table width="155" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" style="border: 1px solid #000000;">
  <tr bgcolor="#818F99"> 
    <td height="20"><font face="Verdana" color="#E5E5E5" size="1"><center><b>Community</b></center></font></td>
  </tr>
  <tr bgcolor="#98AABA"> 
    <td width="10" height="5" bgcolor="#98AABA"></td>
  </tr>
  <tr bgcolor="#98AABA">
    <td height="14" bgcolor="#98AABA"><font color="#E5E5E5" size="1" face="Verdana"><a href="afragen.htm" target="_top" class=Menu>&nbsp; 
      » Allgemeine Fragen</a></font></td>
  </tr>
</table>
</body>
</html>
 
Zuletzt bearbeitet von einem Moderator:
Du musst für den Link die Höhe und Breite angeben. Ohne diese Angaben werden die Maße des Linktextes als Vorgaben genommen.

PHP:
a.Menu 
{
display: block; 
background-color: #98AABA; 
color: #E5E5E5;
width: 200 px;
height: 200 px;
}
 
Status
Nicht offen für weitere Antworten.
Zurück