When you position something absolutely it is removed from the flow. In other words it won’t affect the things around it.
Most likely though, this is overkill. You should just be able to put
text-align: center on its parent instead.
Of course, without real code to look at I’m just guessing.