Can anybody explain to me why this won't work on CodeIgniter?
.linkBack{
background-image:url('/myBlog/CodeIgniter_1.7.2/pictures/arrow.gif');
display:block;
height:58px;
width:105px;
text-indent:-999px;
}
<div class="linkBack"><?=anchor('myBlog', 'Back to Blog');?></div>
while this would work perfectly:
#linkBack {
background-image:url(/myBlog/CodeIgniter_1.7.2/pictures/arrow.gif);
position:fixed;
left:10px;
bottom:10px;
display:block;
height:58px;
text-indent:-9999px;
width:100px;
}
<a href="/myBlog/CodeIgniter_1.7.2/index.php/myBlog" id="linkBack">Back to Blog</a>
it is an image used as a link...