this is a non-absolutely-positioned box

this is an absolutely-positioned box

how do I make it as wide as the yellow box?

this is the version where the box is 75% width