Yes, it is effective for A and other letters as well. The challenge lies in the multiple explanations for certain letters, which may not be immediately obvious. Take B, for instance. While the initial word for B is "Binding", the first explanation displayed after clicking the letter pertains to "Binding Margin".
This discrepancy occurs because the link directs the anchor to the top of the screen without adjusting for the presence of a fixed header, causing it to become hidden underneath.
A potential CSS-only fix involves using a combination of padding and negative margin to reposition the elements' top border. This adjustment ensures alignment with the screen's top edge, compensating for the header's height. Below is a working example tailored to your site, though you should refine the selector for greater specificity (#glossary p strong
, or consider utilizing the semantically appropriate description list).
p strong {
display: inline-block; /* Necessary for the margin/padding to take effect */
margin-top: -60px;
padding: 60px 0 0;
}