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

Re: CSS vs. transitional markup [was: No Subject]

From: Liam Quinn <liam@htmlhelp.com>
Date: Mon, 04 Aug 1997 17:56:13 -0400
Message-Id: <>
To: www-style@w3.org

At 02:05 PM 04/08/97 -0700, David Perrell wrote:
>Consider FONT, for example. With this markup:
>   <H1><FONT SIZE=24>Here is a headline</FONT></H1>
>FONT is a child of H1. H1 font-size is declared in UA defaults or user
>stylesheet. With no explicit declaration, FONT will inherit that value.

Shouldn't FONT be converted into its CSS equivalent, <SPAN STYLE="font-
size: /* some UA-dependent mapping */"> (with a specificity of 1)?  In 
that case, the FONT element would never be overridden by inherited values; 
I know this is not generally what people want, but it seems to be what is 
specified in the CSS1 Recommendation [1].  Normally, the Recommendation's 
advice concerning HTML presentational features gives the result sought 
(the HTML presentation is overridden), but it seems that FONT is a special 
case of evil ;)

Of course, the CSS1 Recommendation only mentions HTML attributes, not HTML 
elements.  Was this by accident, or was dealing with FONT purposefully 

[1] http://www.w3.org/TR/REC-CSS1#cascading-order

Version: PGP for Personal Privacy 5.0
Charset: noconv


Liam Quinn
===============  http://www.htmlhelp.com/%7Eliam/  ===============
Web Design Group            Enhanced Designs, Web Site Development
http://www.htmlhelp.com/    http://enhanced-designs.com/
======  PGP Key at http://www.htmlhelp.com/%7Eliam/pgp.html  =====
Received on Monday, 4 August 1997 17:55:27 UTC

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