How can I position submit.png next to the input element in my code?
<div class="input-box" style="height: 40px; width: 500px;">
<img src="img/delete.png" width="25px" height="25px;" style="position: absolute; right: 0;">
<input id="answer" type="text" style="border: none; border-bottom: 2px solid silver; height: 100%; width: 100%; font-size: 17px; background-color: #ffffff00; outline: none; color: white; font-weight: bold; text-align: center;" required readonly oninput="let p=this.selectionStart;this.value=this.value.toUpperCase();this.setSelectionRange(p, p);">
<img src="img/submit.png" width="25px" height="25px">
</div>
I have tried using display: inline-block and float: right attributes as suggested in other articles, but it did not work. Can someone please assist me with this issue?
Please help me