W3C home > Mailing lists > Public > www-style@w3.org > April 2002

Re: font size

From: David Emmerson <david_emmerson@btinternet.com>
Date: Fri, 5 Apr 2002 18:10:07 +0100
Message-ID: <001c01c1dcc4$bd8698a0$be59073e@gondor>
To: <www-style@w3.org>
Cc: "COLLINEAU Franck FTRD/DMI/TAM" <franck.collineau@rd.francetelecom.com>
> I would like to set text with font size =8  to font size=10.
> I have a solution for Netscape: font[size="8"] {font-size:  10pt;}

Although styling font is a bit strange, that is the correct method.

Håkon said:
> You can't. There is no way to select elements based on a property
> value on that element.

As you have seen, this does not work in IEpc so not many people know
that it is possible.

> Does anybody have an idea for working with IE ?

Write to the IEpc team and ask them to support CSS2 and
in the mean time you'll have to rely on classes.

Dave.
Received on Friday, 5 April 2002 12:10:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:14 GMT