The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › image hover problem
Untitled Document
thanks but i want image in html beacause i want use alt tag …… alt tag is very important …….(seo)
Well, to be honest, having an image on your page with alt tag “home”, or no image, won’t make too much difference for SEO I think….
But ok, if you really need it, then you could get away with this CSS:
.home a { display:block; width: 150px; height: 111px; background:url(images/home.png) no-repeat; } .home a:hover img { display:none; }