(ASP.NET) HTML button customization using an image and link text | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

(ASP.NET) HTML button customization using an image and link text

Say I have a custom designed image of the letter "J". Using @Html.ActionLink, how can I render the image to take the first space in the button's text, followed by the remainder of the link text as defined by the css. For instance, the button must appear as follows: The custom "J" image, immediately followed by "ohn Doe's Website"? What would be the best way to implement this?

21st Jul 2017, 9:56 PM
RabbitPants
RabbitPants - avatar
1 Answer
0
try align
26th Jul 2017, 12:18 AM
Otumian Empire
Otumian Empire - avatar