I have a text link. When the user hovers over the text link, I want an image to be displayed elsewhere on the page. I want to do this using css. I thought it could be done s
It can be done using CSS alone. It works perfect on my machine in Firefox, Chrome and Opera browser under Ubuntu 12.04.
CSS :
.hover_img a { position:relative; } .hover_img a span { position:absolute; display:none; z-index:99; } .hover_img a:hover span { display:block; }
HTML :
Show Image