W3C home > Mailing lists > Public > www-style@w3.org > February 2005

Nullifying insidious HTML 3.2 constructs

From: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Date: Fri, 18 Feb 2005 13:01:51 +0000
Message-ID: <4215E73F.8090201@Rhul.Ac.Uk>
To: www-style@w3.org

Unable to physically prevent some of my less CSS-aware
colleagues from continuing to exploit HTML 3.2 low-level
markup such as <FONT>, <B>, <I> and <U>, I suddenly
realised on the way home last night that I could
nullify their worst efforts : the following snippet must,
I am sure, have been suggested years ago, yet I am unaware
of any references to it :

	<Style type="text/css" media="screen">
		FONT, B, I, U
			  font-face: inherit;
			  font-size: inherit;
			  line-height: inherit;
			  font-style: inherit;
			  font-variant: inherit;
			  font-weight: inherit;
			  text-decoration: inherit;
			  color: inherit

Philip Taylor
Received on Friday, 18 February 2005 13:04:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:17 UTC