I am encountering an issue on my website where I need to insert an image as a background in a specific table cell. However, the image appears duplicated because it is smaller than the cell's width and height, causing an overlap effect.
Even though I used 'no-repeat' in the background image cell to prevent the image from repeating, it doesn't seem to be working as desired. My webpage is being designed using HTML within the Django framework.
The template code I have used is:
<td style="background-image: url('{{ STATIC_URL }}images/sample.JPG'); background-repeat: no-repeat;">
Could someone please advise me on how to fix this issue and prevent the same background image from repeating in a table cell?
Thank you!