The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Default position of absolute element
I’m sure I’ve read it somewhere but can’t find the answer anymore…
Why is an element with position: absolute sometimes by default positioned on the left, yet at other times at 50% of the parent’s width?
The div child starts on the left while the pseudo starts in the middle…
Why does text-align make a difference when position: absolute should force the element to be block level?