- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 22 Apr 2014 10:09:13 -0700
- To: "mus@designtoday.co.uk" <mus@designtoday.co.uk>
- Cc: Koji Ishii <kojiishi@gluesoft.co.jp>, "CSS WWW Style (www-style@w3.org)" <www-style@w3.org>, Zack Weinberg <zackw@panix.com>
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