// This is the code in html part
<canvas id="canvas" width="684" height="606" style="background-color:#999999">
</canvas>
<a href="links/animation.html"><div style="width: 630px;height: 130px;" id="animation"></div></a>
<a href="pa1.html"><div style="width: 630px;height: 190px;" id="PA"></div></a>
<a href="web.html"><div style="width: 630px;height: 135px;" id="web"></div></a>
//This is the code in css part
#PA{
position:relative;
top:-545px;
left:480px;
}
#web{
position:relative;
top:-510px;
left:460px;
}
#animation{
position:relative;
top:-590px;
left:460px;
}
This code created hyper link in canvas..But it is taking space after the canvas tag. I tried all the examples. But its not working. What is the problem in my code.