Re: A proposal for units in GTK+



Noah Levitt wrote:

CSS seems to define an em as the font's height.
http://www.w3.org/TR/REC-CSS1#length-units

H1 { margin: 0.5em }      /* ems, the height of the element's font */
The size of an em is calculated based on the height of the font, but it is traditionally used as a measure of width (in one of the sources I looked at, it said that the em size is chosen such that an "em space" is roughly square).

James.

--
Email: james daa com au
WWW:   http://www.daa.com.au/~james/






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]