<!DOCTYPE HTML><html><head><meta charset="utf-8"><title>Untitled Document</title><style type="text/css">.navigations { width:1000px; margin:0; height:250px; position: relative; float:left;}.navigations ul { margin:0; padding:0;}.navigations ul li { list-style-type: none; display:inline; margin:0px; padding:20px; border:0px solid;}.home { width: 150px; height: 111px; }.home img:hover { background:url(images/homehover.png) no-repeat; width: 150px; height: 111px; }</style></head><body><div class="navigations"> <ul> <li class="home"><a href="index.html"><img src="images/home.png" width="150" height="111" alt="home" title="home"></a></li> </ul></div></body></html>
<li class="home"><a href="index.html"><img src="images/home.png" width="150" height="111" alt="home" title="home"></a></li>
<li class="home"><a href="index.html"></a></li>
.home a { display:block; width: 150px; height: 111px; background:url(images/home.png) no-repeat; }.home img:hover { background:url(images/homehover.png) no-repeat;}
.home a { display:block; width: 150px; height: 111px; background:url(images/home.png) no-repeat; }.home a:hover img { display:none;}</pre>
In your markup, replace this:
with this:
Then change your CSS to include this:
There's better ways of doing this but for what you have right now, this would probably be the quickest fix.
alt tag is very important .......(seo)
But ok, if you really need it, then you could get away with this CSS: