![]() |
![]() |
|
![]() |
![]() |
|
Programmierung Rat & Tat für Programmierer |
![]() |
|
Themen-Optionen | Ansicht |
![]() |
#1 |
Veteran
![]() Registriert seit: 08.02.2001
Alter: 41
Beiträge: 320
|
![]() Ich möchte ein Tooltip mit CSS erstellen, das beim hovern eines Links erscheint. In Firefox funktioniert es auch tadellos, nur der IE will nicht so recht.
Code:
a.blog, a.blog:link, a.blog:visited, a.blog:active { position:relative; font-family:"Trebuchet MS", Helvetica, Verdana; font-size:8pt; color:#C40000; text-decoration:none; } a.blog:hover { background-color:#AEDF7D; color:#333; } a.blog span { display:none; text-decoration:none; } a.blog:hover span { position:absolute; display:block; z-index:100; top: 20px; left:0; width:250px; color:#333; padding:3px 3px 3px 3px; border:1px solid #AEDF7D; background-color:#EFFFDF; font-size:11.5px; font-family:"Trebuchet MS", Helvetica, Verdana; } Weiß wer, was ich falsch mache??
____________________________________
Nein, ich bin nicht die Signatur, ich putz hier nur. http://www.chili-it.at |
![]() |
![]() |
![]() |
#2 |
Inventar
![]() Registriert seit: 13.06.2001
Beiträge: 1.830
|
![]() Der Tooltip auf dieser Seite http://webbe.de/index.shtml?CONTENT=...oltip;LANG=de# funktioniert auch mit IE, sieh dir mal an wie sie es machen.
jak
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona) Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing. \"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra) |
![]() |
![]() |
![]() |
#3 |
Veteran
![]() Registriert seit: 08.02.2001
Alter: 41
Beiträge: 320
|
![]() Von der Seite hab ich den Code ja. Es funktioniert schon, nur scheint es ein Problem mit dem Layer zu geben. Sprich: Die Schrift, die hinter dem ToolTip steht, seh ich auch. Das soll natürlich nicht sein.
____________________________________
Nein, ich bin nicht die Signatur, ich putz hier nur. http://www.chili-it.at |
![]() |
![]() |
![]() |
#4 |
Inventar
![]() Registriert seit: 13.06.2001
Beiträge: 1.830
|
![]() Bei mir gehts auch auf deiner Seite.
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona) Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing. \"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra) |
![]() |
![]() |
![]() |
#5 |
Veteran
![]() Registriert seit: 08.02.2001
Alter: 41
Beiträge: 320
|
![]() Habs gestern noch rausgekriegt. Und zwar hab ich z-index bei den gehoverten Links auf einen niedrigeren Wert als bei dem span
Also: Code:
a.blog, a.blog:link, a.blog:visited, a.blog:active { position:relative; font-family:"Trebuchet MS", Helvetica, Verdana; font-size:8pt; color:#C40000; text-decoration:none; } a.blog:hover { z-index:1000; background-color:#AEDF7D; color:#333; } a.blog span { display:none; text-decoration:none; } a.blog:hover span { position:absolute; display:block; z-index:100; top: 20px; left:0; width:250px; color:#333; padding:3px 3px 3px 3px; border:1px solid #AEDF7D; background-color:#EFFFDF; font-size:11.5px; font-family:"Trebuchet MS", Helvetica, Verdana; }
____________________________________
Nein, ich bin nicht die Signatur, ich putz hier nur. http://www.chili-it.at |
![]() |
![]() |
![]() |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|