Axel Richter: CSS-style - Rahmenfarbe eines Bildlinks...

Beitrag lesen

Danke für deine TIPPS!!!

Leider haben die aber nicht bei meinem Problem geholfen!
Der Rahmen muss ja unbedingt bleiben damit ich seh welche bilder ich scho angeklickt hab!
a:link img ..... Hat nichts gebracht.

<html>
<head>
<title></title>
<style type="text/css">
<!--
a:link {text-decoration:underline; color:#0000ff; font-weight:plain;}
a:link img {border:2px solid #0000ff;}
a:visited {text-decoration:underline; color:#00aaff; font-weight:plain;}
a:visited img {border:2px solid #00aaff;}
a:hover {text-decoration:underline; color:#FF0000; font-weight: plain;}
a:hover img {border:2px solid #FF0000;}
a:active {text-decoration:underline; color:#0000aa; font-weight:plain;}
a:active img {border:2px solid #0000aa;}
-->
</style>
</head>
<body>
<a href="#">Text</a>
<a href="#"><img src="test.gif" width="100" height="100" alt="Bild"></a>
</body>
</html>

Was genau geht daran nicht?

viele Grüße

Axel