Hello,
I want to create link with images inside div having absolute position. But link is not being generated. How can I apply link to that div? here is my code.

<div style="position: absolute;padding-top:100px;padding-left:50px;">
<a href="http://www.example.com"><img src='path-to-image'></a>
</div>

Please help me.

Thanks in advance.

    Problem solved! it was not due to absolute position of div, it was due to I was applying padding instead of margin as soon as I changed padding to margin the problem got solved..

      Write a Reply...