Re: [css-text] Characters per line

On Tue, Apr 22, 2014 at 9:03 AM,  <mus@designtoday.co.uk> wrote:
> not sure if em would be the best measurement for this as it isnt font
> dependent. Perhaps using ex for compatibility with CH for those browsers
> that support it. Saw this on the quirksmode website that was quite useful.

Right, the .5em=1ch is only approximately true, just like .5em=1ex is
approximately true.  Using em as a fallback for ch is a good idea
currently, as support for the 'ch' unit is relatively recent:

p {
  width: 37.5em;
  width: 75ch;
}

~TJ

Received on Tuesday, 22 April 2014 17:10:04 UTC