• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Dynamische Bilder

Status
Für weitere Antworten geschlossen.

yoshi95

Neues Mitglied
Gibts es irgendeine möglichkeit, ein Bild als Link beim Hover oder bei Active mit einem Rahmen zu umgeben, oder IRGENDWIE deutlich zu machen, dass es aktiv ist?
 
Werbung:
Also so gehts irgendwie nicht:

Code:
[SIZE=2]img[B]:hover[/B] [B]{[/B] [/SIZE][SIZE=2][COLOR=#008000]border[/COLOR][/SIZE][B][SIZE=2]: [/SIZE][/B][SIZE=2][COLOR=#0000f0]1px [/COLOR][/SIZE][SIZE=2][COLOR=#ff0000]solid [/COLOR][/SIZE][SIZE=2][COLOR=#0000f0]#000000[/COLOR][/SIZE][B][SIZE=2];[/SIZE][/B][SIZE=2] [B]}[/B][/SIZE]
 
Werbung:
Also so gehts irgendwie nicht:

Code:
[SIZE=2]img[B]:hover[/B] [B]{[/B] [/SIZE][SIZE=2][COLOR=#008000]border[/COLOR][/SIZE][B][SIZE=2]: [/SIZE][/B][SIZE=2][COLOR=#0000f0]1px [/COLOR][/SIZE][SIZE=2][COLOR=#ff0000]solid [/COLOR][/SIZE][SIZE=2][COLOR=#0000f0]#000000[/COLOR][/SIZE][B][SIZE=2];[/SIZE][/B][SIZE=2] [B]}[/B][/SIZE]


Wenn dann so:
Code:
[SIZE=2]A:hover IMG{ [/SIZE][SIZE=2][COLOR=#008000]border[/COLOR][/SIZE][SIZE=2]: [/SIZE][SIZE=2][COLOR=#0000f0]1px [/COLOR][/SIZE][SIZE=2][COLOR=#ff0000]solid [/COLOR][/SIZE][SIZE=2][COLOR=#0000f0]#000000[/COLOR][/SIZE][SIZE=2];[/SIZE][SIZE=2] }[/SIZE]
Die Pseudoklasse :hover gilt nur für das anker-Tag (<a>)
 
Werbung:
Status
Für weitere Antworten geschlossen.
Zurück
Oben