Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS image hover problem

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36788
    zahidahmad9
    Participant





    Untitled Document








    #97242
    zahidahmad9
    Participant

    thanks but i want image in html beacause i want use alt tag ……
    alt tag is very important …….(seo)

    #97243
    Senff
    Participant

    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;
    }
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.