Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Responsive Design View addon: Not working for certain viewscreen sizes

more options

I have been using this add-on for a while now for my html sites (as I convert them to responsive) and the tool is very handy.

However since the beginning I have noticed that some of my media queries do not show properly in the addon (ie...via Control M to view). Specifically --- 414px, 667px, and 800 px. In order to get the view to work for these media query settings I always have to put the code in the previous media query for it to take.

These are the sizes I usually view (and have set up within the add-on) to check. Using Maxwidth ie @media only screen and @media only screen and (max-width:360px){ }

Computers/Monitors 1920 1600 1536 1280

Tablets 1024 853 800 (Gallaxy Tablet 10.1) 768

Phones 736 720 667 (iPhone 6) 640 600 568 480 414 (iPhone 6+) 375 360 320

Are these not valid widths? Or is there some other reason why the add on will not view them? I hope you can assist as I'm working on a project right now and am frustrated once again by this limitation.  :)

Thanks

I have been using this add-on for a while now for my html sites (as I convert them to responsive) and the tool is very handy. However since the beginning I have noticed that some of my media queries do not show properly in the addon (ie...via Control M to view). Specifically --- 414px, 667px, and 800 px. In order to get the view to work for these media query settings I always have to put the code in the previous media query for it to take. These are the sizes I usually view (and have set up within the add-on) to check. Using Maxwidth ie @media only screen and @media only screen and (max-width:360px){ } Computers/Monitors 1920 1600 1536 1280 Tablets 1024 853 800 (Gallaxy Tablet 10.1) 768 Phones 736 720 667 (iPhone 6) 640 600 568 480 414 (iPhone 6+) 375 360 320 Are these not valid widths? Or is there some other reason why the add on will not view them? I hope you can assist as I'm working on a project right now and am frustrated once again by this limitation. :) Thanks

모든 댓글 (1)

more options

Perhaps there is a rounding error in how Firefox is measuring the size of the responsive window? Does it make any difference if you force 96ppi rendering as follows:

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the filter box, type or paste pix and pause while the list is filtered

(3) Double-click layout.css.devPixelsPerPx and change its value from -1.0 (which uses the Windows text size as a global zoom percentage) to 1.0 (which corresponds to 96ppi)

To restore normal rendering, you can right-click > Reset the preference.