Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Firefox ignoring max-width:320px media query Re: Firefox ignoring max-width:320px media query

#98515
Josh
Participant

I may be a few months late, but I actually encountered this today, and wanted to share the solution.

It’s actually not a CSS or CSS interpretation problem at all–it’s the way Firefox does (or doesn’t) resize the viewport. Unlike Google Chrome, and most other browsers, Firefox allows it’s toolbars to affect viewport size. The only way to make the viewport resize below the width of your toolbars in Firefox is to disable them. You’ll need to go to View > Toolbars and uncheck each. Then try resizing and watch your media queries take effect.

I hope I explained that right. It’s been a trying day!