Return to Candy by James homepage

Full page zoom (update)

Good news! Google Chrome is get­ting full page zoom, and it’s the default! That only leaves Safari to imple­ment it, as IE, Firefox & Opera have had it for a while now. [1]

Full page zoom is import­ant because it means no more muck­ing about with elastic lay­outs (em-based) or liquid lay­outs (%-based). That just leaves fixed lay­outs (based on pixels), which is good because images, videos and other media are in pixels too!

Note: I’m not say­ing it’s good to use pixels for font-size: prop­er­ties! (Just all the other prop­er­ties, like height, width, mar­gin, pad­ding, etc.)

[1] Update: Safari 4 (beta) has imple­men­ted full page zoom too! All major and minor browsers have imple­men­ted full page zoom. Until wide­spread updat­ing of Safari 3 with 4 and (more import­antly) IE 6 with 7 or 8, approx. a quarter of vis­it­ors will only have text-based zoom avail­able to them. IE 6 users are likely not to know any­thing about zoom-capabilities however.

Have a look at more Web

Possibly related content

  1. Px vs Em: Is it still relevant?
  2. Bye bye liquid layouts!
  3. Elastic, Liquid, Pixel: Explained.
  4. On Horizontal CSS Centering using Absolute Positioning or how Relative Positioning can rock your css.
  5. Vertically centring in css (without hacks and multi-line enabled)