Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Web page images dont display full width

  • 4 отговора
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от Kim_Hughes

more options

I have a web page where the size (width) of elements is not display as per the code - or what is shown in Computed or when you hover over the line in Inspector.

This page displays fine in Chrome, Safari and IE.

For example the body width should be 960px and ts actually 776px. An image should be 512px and its 411px.

I have a web page where the size (width) of elements is not display as per the code - or what is shown in Computed or when you hover over the line in Inspector. This page displays fine in Chrome, Safari and IE. For example the body width should be 960px and ts actually 776px. An image should be 512px and its 411px.

Избрано решение

Did you make sure that you aren't zooming the page(s).

You may have accidentally zoomed web page(s). Reset the page zoom on pages that cause problems.

  • View -> Zoom -> Reset (Mac: Command+0 (zero))
Прочетете този отговор в контекста 👍 2

Всички отговори (4)

more options

Избрано решение

Did you make sure that you aren't zooming the page(s).

You may have accidentally zoomed web page(s). Reset the page zoom on pages that cause problems.

  • View -> Zoom -> Reset (Mac: Command+0 (zero))
more options

Thank you so much - that was the problem. When I first read your reply I thought, no cant be that (even though that was what it seemed like ie page was intact layout wise but scaled down) because the other 5 pages were displaying fine.

I didn't know a page would remember a zoom in (which I don't remember ever doing on these pages but I must have).

Again thanks and regards.

more options

Firefox changes what it tells websites about your window.innerWidth and screen.width (and corresponding heights) as your change the zoom level. I have a little demo on this page: https://www.jeffersonscher.com/res/resolution.php

more options

Thanks again - very helpful.