Whenever I encounter an issue with a validation summary on a form and click on the corresponding
<a href="#error1">Error 1...</a>
link for the error, the associated field is scrolled to. However, it is not properly in view because the scroll value does not account for the fixed header pixels. To address this discrepancy, I found a quick solution in Chrome by including
html {
scroll-padding-top: 150px;
}
Despite this workaround working in Chrome, it unfortunately does not have the same effect in Internet Explorer (IE). I have scoured stack overflow for a solution but have come up empty-handed. Appreciate any assistance provided. Thank you.