html - Image as link doesn't work -
i have <a> background:
<a class="link" href="/#/index"></a> and css it:
.link { display: block; width: 50px; height: 50px; float: left; text-indent: -9999px; background: #fff url("/logo.png") no-repeat; } image displays normally, link doesn't work, when hover on image cursor default, not pointer, , page doesn't update after click.
put inside a tag
<a class="link" href="/#/index"> </a>
Comments
Post a Comment