Tom: Links verschieden farbig ??

Beitrag lesen

Moin auch:

Hier ersteinmal der CSS-Part:

....................
a.link1        {color           : red;
                text-align      : center;
                font-weight     : bold;
                font-family     : Verdana, Arial;
                font-size       : 9pt;
                background-color: #9999FF;     }

a.link1:hover  {color           : #CC3333;
                text-decoration : none;
                background-color: #FFFF99;      }

a.link1:active {color           : #FFFF99;
                text-decoration : none;
                background-color: #CC3333;       }

a.link2        {color           : green;
                text-align      : center;
                font-weight     : bold;
                font-family     : Verdana, Arial;
                font-size       : 9pt;
                background-color: #9999FF;     }

a.link2:hover  {color           : black;
                text-decoration : none;
                background-color: #FFFF99;      }

a.link2:active {color           : yellow;
                text-decoration : none;
                background-color: #CC3333;       }

.............................

Nun der HTML Part:

<table>
 <tr>
  <td>
   <a class="link1" href="seite1.php">
    [ Seite 1 ]
   </a>
  </td>
 </tr>
 <tr>
  <td>
   <a class="link2" href="seite1.php">
    [ Seite 2 ]
   </a>
  </td>
 </tr>
</table>
................................
Viel Spaß damit!

Gruß

Tom