3 ms·
Note that the <a> element is inline by default, which means top and bottom padding is not applied. Set display: inline-block; to have padding apply all around w
by eurasiantiger 7y ago
Note that the <a> element is inline by default, which means top and bottom padding is not applied. Set display: inline-block; to have padding apply all around while retaining the element’s flow in the layout.
- deftturtle 7y agoThank you! I’m still learning CSS and will have to adjust my style sheets! :)