2

How to do css only if page is unzoomed 75% or less? My problem is that the fields are getting too large if the browser unzoom the page with 75 or more%

Mr. Alien
  • 153,751
  • 34
  • 298
  • 278
deadpool
  • 27
  • 5
  • 2
    Browser zoom was designed as a convenience. It was never supposed to maintain your layout fidelity. This is a micro-optimization with no real use case. – Diodeus - James MacFarlane Feb 27 '14 at 15:21
  • 1
    Your second tag didn't make any sense so I've taken that out, also, when you zoom your browser, it will change the resolution and the media queries apply as well, `%` differs with resolution on each machine... So there won't be any consistent answer for this – Mr. Alien Feb 27 '14 at 15:25
  • possible duplicate of [How to detect page zoom level in all modern browsers?](http://stackoverflow.com/questions/1713771/how-to-detect-page-zoom-level-in-all-modern-browsers) – Asons Feb 27 '14 at 15:31
  • There should be no functional difference between zooming in and making the window smaller. If there is, you're doing it wrong. – Mr Lister Feb 27 '14 at 15:49

1 Answers1

0

I've fixed the problem. Just changed the width form px to %.

deadpool
  • 27
  • 5