Nullifying insidious HTML 3.2 constructs

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
			}
	</Style>

Philip Taylor

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