I have been working on designing a footer that will be displayed on every page of the website layout. The footer contains two div tags that function as buttons. However, I am facing an issue where the buttons appear smaller on some screens and larger on others. It seems that if the content of the page does not fill the entire height of the screen, the buttons are the correct size. But when the content exceeds the screen height, the buttons shrink in size. I believe they should maintain a consistent height regardless of the page content.
Below are screenshots illustrating the issue:
.footer {
bottom: 0;
background-color: #EEEEEE;
width: 100%;
height: 100%;
}
/* CSS styling continues... */
<div class="footer">
<div class="footer-container">
<div class="footer-list">
<li class="footer-left">
<img src="~/content/images/logo-icon.png">
</li>
<li class="footer-item">
<div class="footer-button footer-help-center">Help Center</div>
</li>
<li class="footer-item">
<a href="@Url.RouteUrl(" ContactUs ")">
<div class="footer-button footer-contact-us">Contact Us</div>
</a>
</li>
</div>
</div>
</div>