i am trying to make an image act as a button when i click it so that a tooltip is shown:
css:
Code:
#pref_button {
float:right;
margin-right:5px;
margin-top:0px;
opacity:0.2;
position:relative;
}
#pref_button:hover {
opacity:1.0;
}
HTML:
Code:
<img id="pref_button" src="http://cdn1.iconfinder.com/data/icons/iconsweets2/40/preferences_gear_5.png" />
However i dont see any 100% opacity when i hover the image