Hi,
I suggest you try grouping the text boxes and the red outlined rectangles together. This can help maintain their relative positions when viewed in different environments.
To group objects, select them, right-click, and choose "Group."
Then check if it will work in PowerPoint for web, just checking in to see if the information was helpful. Please let us know if you would like further assistance.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.