W3C home > Mailing lists > Public > www-style@w3.org > February 1997

RE: [Q] Shouldn't margin-bottom...? -Reply

From: Charles Peyton Taylor <CTaylor@wposmtp.nps.navy.mil>
Date: Wed, 05 Feb 1997 12:38:52 -0800
Message-Id: <s2f87fd8.055@wposmtp.nps.navy.mil>
To: www-style@w3.org

>>> Steve Knoblock <knoblock@worldnet.att.net> 02/05/97 11:29am >>>
>Also are you going to fix the behavior of headings with percent
>When I say font-size: 100% on a heading I expect it to be the same
>size as the font-size specified on the body. Not 100% of some default

This is true. The CSS spec says that percentages are relative 
to the parent element's font size [1].

>Perhaps I do not fully understand the em. I understand it is a unit
>equal to the point size of the type. The following code shows a
>margin of 1px for both paragraphs. Not one margin of 12pt and one
>margin of 24pt equivalents.

    I *thought* that em's were the width of the letter "m" in 
a font, but the spec says that it's equal to the height of 
the elements font [2], so what do I know? It makes sense, 
though, that ems are "m"s, especially when exs are "x"s.

    Also, "IE" is not necessarily what you 
might think of as being "IE" because the Mac version does 
things that the W95 version doesn't; I've noticed that 
em is one of those things. 



> -:-     City Gallery ed.- http://www.webcom.com/cityg  PhotoGen list
> -:-     Steve Knoblock,  knoblock@worldnet.att.net
> _/     Member:  Natl. Stereo. Assoc.

C  h a r l e s    P e y t o n   T a y l o r         ctaylor@nps.navy.mil
The opinions and views expressed are my own and do not reflect those of 
the Naval PostGraduate School 

                       "Dreams are like water, colorless, and dangerous"

Received on Wednesday, 5 February 1997 15:51:24 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:42 UTC