How to lay an image over an image in table cell
Advertisements I’m trying to lay an image on top of an image in a table cell (if you click on it). <table> <tr> <td style="background-color:Gray;"><a id="firstcell" onclick="addImage"><img scr="snowman.png"></a></td> </tr> … </table> Here is the addImage function: function showMoves(fig_name,pos) { var image = document.createElement("img"); var imageParent = document.getElementById("firstcell"); image.src = "circle.png"; image.style.position = "absolute"; imageParent.appendChild(image); }… Read More How to lay an image over an image in table cell