Re: A proposal for units in GTK+

Noah Levitt wrote:

CSS seems to define an em as the font's height.

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).


Email: james daa com au

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