Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.


Text and image link on same line?

destroyer Offline referral

Posts: 430
Joined: Jul 2013
Reputation: 3

Senior Member
So could anybody to create a link that will have a small icon/image on the right side of the link text? The text link and image or icon have to be on the same line. I have tried CSS background property but it's not working?
surenot Offline referral

Posts: 500
Joined: Jan 2014
Reputation: 16

Senior Member
HTML code:

<a class="image_left text_right" href="URL">This is your link text</a>

CSS code:

.image_left {
background: url("image path goes here") no-repeat;
padding-left: 5px;

.text_right {add style for the text link here}

User(s) browsing this thread: 1 Guest(s)