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

Beitrag lesen

Hallo,

<html>
<head>
<title></title>
<style type="text/css">
<!--
a img {border:0 none;}
a.bild {display:block; float:left; border:2px solid #0000FF;}
a.bild:link {border:2px solid #0000FF;}
a.bild:visited {border:2px solid #00aaff;}
a.bild:hover {border:2px solid #FF0000;}
a.bild:active {border:2px solid #0000aa;}
-->
</style>
</head>
<body>
<a href="#" class="bild"><img src="bullet1.gif" height="100" width="100" alt="Bild"></a>
<a href="#" class="bild"><img src="bullet2.gif" height="100" width="100" alt="Bild"></a>
<a href="#" class="bild"><img src="bullet3.gif" height="100" width="100" alt="Bild"></a>
</body>
</html>

Kleine Spielerei, die auch Opera 6 versteht.
!!!Nur für Bilder geeignet!!!

viele Grüße

Ax*wozu gibt's eigentlich Standards?*el