-1

I have some text and links in an image. I want to use this image in html page and want to make all available link clickable. How can I do this?

Ala
  • 1,505
  • 1
  • 20
  • 36
Pramod Rana
  • 11
  • 1
  • 3
  • 1
    You can do this with the help of CSS. keep that text and link on image by aligning using Position, Margin, Padding fields. – gkrishy Aug 06 '15 at 05:23
  • If you have control over the image and text, then gkrishy's comment is the correct answer, if you don't have control over the image, then BMahmoudi's answer is correct to use html maps. – Casey Aug 06 '15 at 06:42
  • possible duplicate of [Image button in ActionLink MVC](http://stackoverflow.com/questions/23535704/image-button-in-actionlink-mvc) – Ehsan Sajjad Aug 06 '15 at 06:55

2 Answers2

1

You should either use whole image as clickable like

<a href="URL"><img src="Path" /></a>

Or you could use flash file instead which will help you what you want.

Harshit
  • 5,147
  • 9
  • 46
  • 93
1

You can use Image Maps. Ther is an instruction here. http://www.w3schools.com/tags/tag_map.asp

Bashir Mahmoudi
  • 176
  • 1
  • 15