I am trying to enhance my URLs by adding the same image to each of them. The code I have currently is as follows:
a.linkArrow
{
background: transparent url('../images/abc.png') no-repeat center right;
padding-right: 60px;
}
Here is an example link:
<a class="inkArrow" href="#abc">Abc?</a>
The issue I am facing is that the image is displaying on the left side of the link text. I want the image to always appear on the right side of the text and for the distance between the start position of the link text and the start position of the image to remain consistent. This way, when I have multiple links in a row, the images will align properly. Additionally, I need the image to be clickable and lead to the same URL as the link (not sure if enclosing it in the same tag is possible).
Any suggestions or solutions?