W3C home > Mailing lists > Public > www-html@w3.org > April 1998

Re: Absolute Font-size

From: Rasmus Kaj <kaj@interbizz.se>
Date: Mon, 27 Apr 1998 11:21:45 -0400 (EDT)
To: klempau@obelix.sunflowers.de
Cc: www-html@w3.org
Cc: kaj@interbizz.se
Message-Id: <19980427172132L.kaj@interbizz.se>
>>>>> "CK" == Christoph Klempau <klempau@obelix.sunflowers.de> writes:

 CK> Is there a possibility to use absolute font-sizes that works in Netscape
 CK> and IE?
 CK> Something like <font style="Times New Roman" size="12pt">????? But this
 CK> example doesn´t work in both browsers!

The correct way (IMHO) would be to use CSS, i.e:

<span style="font-family: Times New Roman; font-size: 12pt;">This is
12pt Times</span>

Note that 'Times New Roman' is a version of Times that is specific to
windows (it is possible but not common to have it on other
systems). I'd use 'Times' as a fall-back (and serif as worst-case
fallback), i.e. "font-family: Times New Roman, Times, serif;"

// Rasmus

-- 
kaj@cityonline.se --------------- Rasmus Kaj - http://www.e.kth.se/~kaj/
 \               CityOnLine IB Production AB - http://www.cityonline.se/ 
  \------------------------- Unite for Java! - http://www.javalobby.org/
Received on Monday, 27 April 1998 11:23:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:36 GMT