This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox renders page in mobile mode

  • 2 replies
  • 2 have this problem
  • 3 views
  • Last reply by cor-el

more options

This is such a strange request, because I have not seen it in action, but I have been sent screenshots. Anyway, here's some background: We have a Registration page that uses custom iFrames. One user has attempted to use the Registration page, but the iFrame is rendered in Mobile mode (i.e., while the rest of the page is working as intended, the iFrame is very thin and cuts off content. Is there an explanation for this weird behavior?

This is such a strange request, because I have not seen it in action, but I have been sent screenshots. Anyway, here's some background: We have a Registration page that uses custom iFrames. One user has attempted to use the Registration page, but the iFrame is rendered in Mobile mode (i.e., while the rest of the page is working as intended, the iFrame is very thin and cuts off content. Is there an explanation for this weird behavior?

All Replies (2)

more options

I would like to suggest you run your pages through 2 things before publishing. Both are from the W3C.org (World Wide Web Consortium) in charge of standards and practises and evolving future decisions for both Browsers and Web Pages.

For HTML Code : https://validator.w3.org/ and for CSS Code : https://jigsaw.w3.org/css-validator/ note the online lint helps with java script.

Firefox is looking at your errors and so not displaying as you would wish. Be mindful that the next update for any other browser could cause the same issue on it.

Please let us know if this solved your issue or if need further assistance.

more options

Maybe check whether the page isn't zoomed since this can affect the reported window dimensions.

Reset the page zoom on pages that cause problems.

  • View -> Zoom -> Reset (Ctrl+0/Command+0 (zero))

Clear the cache and remove the cookies from websites that cause problems via the "3-bar" Firefox menu button (Options/Preferences).

"Clear the cache:

  • Options/Preferences -> Privacy & Security -> Cached Web Content: "Clear Now"

"Remove the cookies" from websites that cause problems.

  • Options/Preferences -> Privacy & Security -> "Use custom settings for history" -> Cookies: "Show Cookies"

Modified by cor-el