PDA

View Full Version : text-indent hide text problem.


mampwamp2
10-28-2012, 02:48 AM
<a id="prev_featured" class="singleframe_previous" href="# ">Previous</a>

a#prev_featured{
background:url(button.jpg) 0 0 no-repeat;
text-indent:-9999px;
}


How to hide the "previous" text?
i have use text-indent but text still appear.

gentleone
10-28-2012, 02:58 AM
add 'display: block' and set a width and height the same as the size of the button image in your CSS

mampwamp2
10-28-2012, 03:18 AM
add 'display: block' and set a width and height the same as the size of the button image in your CSS

thank. it work.