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

Nicolas George george at nsup.org
Sun Oct 2 16:44:14 EEST 2016

Le primidi 11 vendémiaire, an CCXXV, Josh de Kock a écrit :
> Not really.


> The containers should not change size depending on the font size.

The issue at hand is not about "containers" or whatever, it is about the
max-width property, in order, quoting yourself, to make things "more legible
on larger (widescreen) screens".

The problem with long lines and readability is that the eye loses alignment
when scanning the text, especially when going from the end of a ling to the
beginning of the next.

This is caused by the length of the line in terms of words and characters,
not by its number of pixels nor its size in physical units.

Can you tell how many characters fit in 960 pixels? Definitely not, since it
depends on users settings that you have no control over. Therefore, using
pixels for max-width is wrong. Furthermore, designs that do not respect
these user settings or misbehave when they have a non-default value are

>								    It results
> in really ugly, fairly undefined behavior. I made an example to illustrate
> this: https://codepen.io/anon/pen/ozGqEj

Relying on WYSIWYG tools for web design usually result in bogus stylesheets
that look nice on your particular settings and misbehave badly with unusual


  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/b61ea457/attachment.sig>

More information about the ffmpeg-devel mailing list