Matthias Apsel: Verlinktes Bild bei hover austauschen

Beitrag lesen

Om nah hoo pez nyeetz, Anja!

#logo {background:url(image.png) height:61px;} #logo:hover {url(image-hover.png)}

<div id="logo"><a href="http://domain.de/"><img src="transparentes-bild.png" /></a></div>

Wenn der Link das einzige Element des divs "logo" ist, ist das div überflüssig.

Matthias

--
Wer ein Problem beschreiben kann, hat es schon halb gelöst.                                             (Julian Huxley) http://www.billiger-im-urlaub.de/kreis_sw.gif