The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] How can I center my text with position absolute!? › Reply To: [Solved] How can I center my text with position absolute!?
When you give a block element position: absolute, it loses its default width: 100% since it leaves the flow… so maybe give it a width?
If that doesn’t work, set up a Codepen so we can see what you’re doing.