Padding and margins on anchor tags

I feel like the answer to this should be simple, but I can’t seem to figure it out.

Is there a way to add padding and margins to anchor tags?

I have a horizontal row containing links. I want to place 5 pixels of padding inside the anchor tag on all sides.

I’ve tried the basic padding: 5px; but I get no effect.

Am I missing something?