Is there a word like "sides" that means "top or bottom"?

"Sides" can be used to describe positioning relative to the left or right of an object. Is there a corresponding word that has the same meaning for the top or bottom of an object?

For example, if I say "side padding," it's pretty clear that I'm talking about padding from the left and right edge. I want to be able to say the same thing about the top and bottom edge.


I believe you can use the phrase "Vertical padding" to analogize the meaning with respect to top and bottom.

Another way to think about it is that the padding on the side can be referenced as Lateral padding, so you could even use "Non-lateral padding" as a reference.


A box has sides, and it has ends.

But saying top and bottom doesn’t seem so onerous. English is versatile like that.