jackjohnson44
asked on
css hide a links text
I am trying to display an image and hide the text of a link. I can display the image, and even get rid of the text underline, but I can't get rid of the text.
.collapsed, .collapsed a {
background: transparent url('/Style Library/maximize_gray_smal l.png') no-repeat scroll center left !important;
padding:2px 6px 2px 25px !important;
text-indent: -1999px;
text-decoration:none;
}
.collapsed, .collapsed a {
background: transparent url('/Style Library/maximize_gray_smal
padding:2px 6px 2px 25px !important;
text-indent: -1999px;
text-decoration:none;
}
The only text-indent value that I have seen for this technique is -9999px rather than the one you have which is -1999px. For most resolutions this shouldn't matter, but...
ASKER
Thanks, but neither of those worked. I can't send a public url because there is none. I do have a screen shot with the page, and the html code and css thanks to firebug.
Show us the URL.
ASKER
It is a test site on a development box. It isn't on the internet.
Sorry, I misread. Please post your HTML/CSS code
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try this:
Open in new window
If that doesn't help, please post a live URL or your HTML/CSS rendered page so we can debug further