- From: Hakon Lie <howcome@w3.org>
- Date: Mon, 27 Oct 1997 11:45:46 +0100 (MET)
- To: fahrner@pobox.com (Todd Fahrner)
- Cc: d.tek.jre@ebox.tninet.se (Jan Roland Eriksson), www-style@w3.org
Todd Fahrner writes:
> (forwarded from news: comp.infosystems.www.authoring.stylesheets )
>
> (A copy of this message has also been posted to the following newsgroups:
> comp.infosystems.www.authoring.stylesheets)
>
> In article <34381c9c.83552011@news1.tninet.se>, d.tek.jre@ebox.tninet.se
> (Jan Roland Eriksson) wrote:
>
> " Take this as an example...
> "
> " .doc-title {
> " font-size: 1.3em;
> " font-family: Verdana, sans-serif;
> " font-weight: bold;
> " margin-top: 7em;
> " margin-bottom: 0;
> " text-align: center
> " }
> "
> " In my BODY rule I have _not_ made any attempt to change the
> " users defined size of font. As I understand it I should now
> " expect
> "
> " <H1 CLASS="doc-title">Some title</H>
> "
> " to render in a font size of 1.3 x User font size.
> "
> " But my question is, what should be expected as the rendered
> " size of the top margin for "Some title"? (provided that any
> " element above <H1>..</H1> has {margin-bottom: 0} )
> "
> " I see two possibillities here...
> "
> " 1) Top margin = 7 x 1.3 x User font size
> " 2) Top margin = 7 x User font size
> "
> " Item 1) comes to mind as margins are not inherited and there
> " is a change of font size (base for the em length) specified
> " in the .doc-title rule already when we reach the top margin
> " declaration.
>
> I also believe this is the correct interpretation, and Microsoft evidently
> agrees.
So do I.
-h&kon
Received on Monday, 27 October 1997 06:22:25 UTC