Within my application, I have an image modal placed inside a header tag, along with a label. There is some space between the label and the image modal. However, when the application is run, the page appears in a fixed position, but the label message does not show up. This causes the image modal button to shift. How can I adjust the styles so that the position remains fixed regardless of whether the label message appears or not? Please advise.
Code:
<h2>Ready To Do: <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label> &...
Style.css
#myImg {
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
#myImg:hover {opacity: 0.7;}
Click here for image description
Thank you