Is it possible to center the number row without using JavaScript to calculate its position, considering its parent has a fixed attribute? I've tried using CSS properties like margin and text-align with no success. Any suggestions on achieving this with pure CSS?
I have attempted the following:
- Using margin: 0 auto, but it did not work due to lack of width.
- Trying text-align: center, but as the number row is not an inline element, it was unsuccessful.
Any help would be greatly appreciated :)