Context menu incorrect position in html table cells


I am trying to create a context menu on html table cells. However, the context menu seems to appear massively offset from the cell itself.

I have attached an example of the problem.

Can you please advise. (832 Bytes)


try to add td { position:relative; }

That’s fixed it - many thanks!!