Home > OS >  My page is not horizontally contained. What CSS is causing this?
My page is not horizontally contained. What CSS is causing this?

Time:03-06

enter image description here

You can set that img with width: 100% that will make your UI fit again. (It also depends what you're expecting from your designs)

enter image description here

CodePudding user response:

Try using * { outline: 1px solid black } to see which element is overflowing your site. This should help you to identify it.

CodePudding user response:

Nick Vu's answer is completely correct and you must specify the width and height of your images in css or attribute. In addition to faster page processing, this also improves SEO

  •  Tags:  
  • css
  • Related