Does anyone have any ideas why images which look centered within CS50 IDE HTML webpage previews are far from centered once they are shared and viewed on the internet. Shouldn't the preview view show you exactly what the webpage will look like?

1 Answer 1


In a word, not necessarily. Where elements are placed on a page is a function of the elements, the styling and the viewport (screen) size. That's why "responsive design" is a thing :)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .