For responsive designs, I use em
values instead of px
. (Of course, %
also comes into play.)
However, when considering containers of fluid photos (e.g. div
, figure
, etc.), layouts sometimes call that it has a max-width
property in the CSS.
If this was declared in em
(e.g. 700px/16px = 43.75em), then it could resize incorrectly depending on a user's browser settings and zoom.
Therefore, it seems that px
values in CSS declarations are better-suited? But I am wary of using them now... alternatively, however, is such a precaution unfounded?