How can I display an image instead of a text for a hyperlink? Please see my example, here you can see the text “x” and the background image. I want to show only the background image for the hyperlink.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
make the link
display: block;so you can give it the width and height of the background image, then usetext-indentto hide the actual textYour fiddle updated