Has anyone ever experienced an issue where they can’t apply padding-top or padding-bottom to a link or even just text? Padding-left and padding-right work just fine. Can anyone shed some light on this?
I have a simple test, no other css styles on the page.
Here is my code:
<a href="#" style="padding-top: 100px;
padding-left: 100px; padding-bottom: 100px;">
This is a link that should have 100px padding-top,
100px padding-left, and 100 px padding-bottom.
</a>
<span style="padding-top: 100px;
padding-left: 100px; padding-bottom: 100px;">
This is regular text that should have 100px padding-top,
100px padding-left, and 100 px padding-bottom.
</span>
Any help is greatly appreciated!