<div style="border: 1px solid rgb(0, 0, 0); height: 30px; width: 30px; background-color: rgb(245, 225, 130);">
<div style="margin: 5px;">
<a href="#link">#down2#</a>
</div>
</div>
This is the current code I am working with. It may seem a bit messy right now, but my goal is to create a 25px x 25px div that contains page numbers as part of a paginator. My challenge is ensuring that all numbers from 1 to 100 are centered within each box consistently. The current issue is that when I try to center number 1, it affects the size of the box, and defining a fixed box size causes alignment issues. Does anyone have a quick solution for centering elements within divs effectively?