The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Width fixed div element same as the parent's › Reply To: Width fixed div element same as the parent's
Once you apply position fixed…the element no longer has any relation to the parent element.
That applies to width and everything else.
You might try position:sticky instead