How to place any image on anchor tags?

 Posted by vishalneeraj-24503 on 8/1/2014 | Category: CSS 3 Interview questions | Views: 310 | Points: 40
Answer:

Use below css class code as follows:-
<style type="text/css">

a
{
padding-left: 20px;
background-image: url(view.png) no-repeat;
}
</style>

Note:- This will appear next to your links.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response