and ahef inside css?
and ahef inside css?
Out of context: Reply #11
- Started
- Last post
- 12 Responses
- estetic0
instead of a image can you insert a text link with a class and use css to replace the text with a image? ie:
html -
<a href="www.link.com" class="bg-image>TEXT</a>css -
a.bg-image {
display:block;
width:100px; (image width)
height:100px; (image height)
background:url(path/to/image.jpg... 0 0 no-repeat;
text-indent:-9999px;
overflow:hidden
}