php - Placing text (or a link) on top of an image -


what i'm looking way place text, in case link, on top of image in specific location, preferable coordinates. know there's way place link on image via usemap, far know it's possible make link form, rectangle or circle.

i have looked way far have come short, hope there's can little.

<div style="position:relative">     <img src="http://www.example.com/blahblah.jpg">     <a style="position:absolute; left:0px; top:0px;" herf="http://www.example.com">some link</a> </div> 

you need contain link in element , give position of relative while giving link element position of absolute, , setting left,top,bottom, and/or right


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -