Nowadays it is rare to see a web page on which the body text occupies the full width of the browser window on large screens, because that would be too wide to read, and your eyes or head has to move across a large horizontal space.
However, sometimes we may wish to give an image more horizontal space when the original image is very wide. Our eyes parse images differently than text, and we may need more room to present more details in an image.
A couple of weeks ago, I saw a question on Stack Overflow. The OP asked how …