W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2003

Re: font-size: larger and h1 default size

From: Vincent Quint <Vincent.Quint@inrialpes.fr>
Date: Thu, 10 Jul 2003 17:07:19 -0400 (EDT)
To: Brant Langer Gurganus <brantgurganus2001@cherokeescouting.org>
Cc: www-amaya@w3.org
Message-Id: <20030710210558.8FFE63DEB@lihue.inrialpes.fr>




This may look strange, but I think Amaya is right. "larger" refers
to the size of the parent element. If the font-size for <body> is
12pt, characters in a H1 element can actually be smaller than the
default size.

Check section 15.2.4 of the CSS2 specification:

   http://www.w3.org/TR/REC-CSS2/fonts.html#x19

Vincent.

Brant Langer Gurganus wrote:
> 
> Using Amaya 8.0 for Windows XP,
> 
> I created an XHTML 1.0 Strict file which has an h1 element:
> <h1>Brant's Projects</h1>
> 
> In an attached stylesheet, I added the rule:
> h1 { font-size: larger }
> 
> Instead of making the text larger, the text was made smaller.  The only 
> other rule applying to the h1 element is text-align: center.
> 
> -- 
> Brant Langer Gurganus
> Write me a message if you're happy.
Received on Monday, 11 August 2003 03:58:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:40 UTC