Einzelnen Beitrag anzeigen

Benutzerbild von Christian S.
Christian S.

Registriert seit: 19. Apr 2003
Ort: Düsseldorf
835 Beiträge
 
#8

Re: [HTML/CSS] Größeren Verweishintergrund ändern?!

  Alt 5. Aug 2004, 17:00
Ich meine mich zu erinnern, dass das irgendwie auch eleganter geht, aber was soll es, so geht es auch:
Code:
<html>
   <head>
        <style type="text/css">
            div.menu a:hover{
               padding-top: 6px; padding-bottom: 10px;
               text-align: center;
               height: 17px;
                display: block;
                background-color: #D8D8EE;
            }
            div.menu a:link{
               padding-top: 6px; padding-bottom: 10px;
               text-align: center;
               height: 17px;
                display: block;
            }
            div.menu a:visited{
               padding-top: 6px; padding-bottom: 10px;
               text-align: center;
               height: 17px;
                display: block;
            }
        </style>
   </head>
    <body>
       <table border="1" cellpadding="0" cellspacing="0">
          <tr>
             <td width="180" height="34">
                <div class="menu">[url=""]Test[/url]</div>
             </td>
          </tr>
       </table>
    </body>
</html>
Christian S.
Admin in der Entwickler-Ecke
  Mit Zitat antworten Zitat