[FFmpeg-devel] [PATCH] doc/t2h: add max-width to css.

Nicolas George george at nsup.org
Sun Oct 2 15:52:05 EEST 2016

Le primidi 11 vendémiaire, an CCXXV, Josh de Kock a écrit :
> Using max-width: 960px is common practice,

Yet still bad practice.

>					     and since pixels are generally
> not 1:1 but scaled with regards to DPI, rather than text-size it results in
> a more constant layout across environments.

Indeed: most web designers are idiots, they used pixels all over the place,
forcing browsers authors to step in and work around their bad design. As a
consequence, the few web designers who are not idiots and have a good reason
to use pixels at some place have a hard time.

And it does not address the problem of user-mandated font sizes.

CSS did include from the start a mechanism to make design independent from
the resolution and font size: expressing length in ems. It still works,
still better than the workaround.

Since you are not an idiot, you will use it.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161002/d297a647/attachment.sig>

More information about the ffmpeg-devel mailing list