|
Software- und Webentwicklung Planung, Programmierung und Administration
UML, JavaScript/DOM, ASP, JSP, PHP, Apache, MySQL, Python, Perl (...) |
|
Themen-Optionen | Ansicht |
16.09.2005, 15:35 | #1 (permalink) |
Registriert seit: 25.10.2003
Beiträge: 8.502
|
[HTML/CSS] Zelle füllt sich bei Hover
Hi, ich hab ein kleines Problem mit den Links auf meiner Website.
In einer Zelle befindet sich ein Link. Sobald man diesen Link berührt soll sich die komplette Zelle färben. Ich hab es auch schohn mit "display: block;" probiert aber so bleiben immer ein paar Ränder oder andere Stellen weiß. Gibt es da vielleicht noch eine andere Möglichkeit oder mache ich vielleicht etwas falsch? Vielen Dank schoneinmal im vorraus.
__________________
|
16.09.2005, 15:45 | #2 (permalink) |
|
AW: [HTML/CSS] Zelle füllt sich bei Hover
Probier mal, deine CSS-Box mit diesen Einstellungen hier zu überarbeiten (den Namen des Containers abändern )
[ #navlist { list-style-type: none; color: darkgray; background-color: gainsboro; margin-left: 5px; } ] HTML-Code:
[ #navlist { list-style-type: none; color: darkgray; background-color: gainsboro; margin-left: 5px; } ] #active:hover li { display: block; } #active li { display: none; } #navcontainer { width: 220px; background-color: gainsboro; border: 1px gray solid; } #navcontainer a { color: gray; background-color: gainsboro; width: 120px; display: block; } #navcontainer a:visited { color: gray; background-color: gainsboro; } #navcontainer a:active { color: white; background-color: gray; } #navcontainer a:hover { color: white; background-color: gray; }
__________________
o L_ OL "This is Schäuble. Copy Schäuble into your signature to help him on his way to Überwachungsstaat." "Tokio Hotel Fan" -edited by Burns :P • - auch edited by Burns :P |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|