Women in Technology

Hear us Roar



Article:
  Roll Over, Rollovers -- CSS Style
Subject:   The easiest method I use
Date:   2008-12-01 00:50:56
From:   Ghostbuster
This is the easiest CSS-rollover method I use, working both on FireFox and Internet Explorer:


<style>
img.nohover {border:0}
img.hover {border:0;display:none}
A:hover img.hover {display:inline}
A:hover img.nohover {display:none}
</style>
<A HREF="#">
<img src="b1.gif" class="nohover">
<img src="b2.gif" class="hover">
</A>

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • The easiest method I use
    2009-06-02 23:08:05  ma70 [View]

    Thank you for this. Exactly what i needed. Simple every other place i searched had you using to many classes and variables.