I am currently coding in ASP.NET
.
I have a button that is clickable on Internet Explorer but not on Firefox or Google Chrome.
After investigating, I found out that the issue lies in its CSS property being set to position: absoulute
OR position:fixed
.
Here's the snippet of code:
<div style="padding-top:50px";>
<div id="divInfoBox" runat="server" style="padding-top:5px; height:250px;">
<div style="position:fixed; padding-left:-5px; ">
<asp:ImageButton CssClass="attachmentImageButton" ID="btnAttachment" runat="server" Visible="false"
ImageUrl="~/Style/images/attachment.png" onclick="btnAttachment_Click" />
</div>
</div>
</div>
How can I make this button clickable across all browsers?