W3C home > Mailing lists > Public > www-style@w3.org > September 1998

Inheritance?

From: Leonard Rosenthol <leonardr@Adobe.COM>
Date: Mon, 28 Sep 1998 15:23:06 -0400
Message-Id: <v04101b01b2359237c232@[130.248.25.15]>
To: www-style@w3.org
Given a style declaration of:

	<STYLE type="text/css">
	<!--
		.dynamic-style {text-indent : 24px}
	-->
	</STYLE>


Why does this NOT work?
	<P class="dynamic-style"><SPAN>standard paragraph with a first line 
indent</SPAN></P>


and this does?
	<P><SPAN class="dynamic-style">standard paragraph with a first line 
indent</SPAN></P>


I would think that they would be equivalent since the class of the <P> 
should be carried onto the <SPAN>.  Or is this just another bug in the 
browsers?


Leonard
----------------------------------------------------------------------------
Leonard Rosenthol			<mailto:leonardr@adobe.com>
Designated Free Electron               	(612) 766-4718 (Minn)
Adobe Systems Incorporated              (215) 233-5270 (Philly)

PGP Fingerprint: 8CC9 8878 921E C627 0BC1  15BB FC19 64A9 0016 1397
Received on Monday, 28 September 1998 15:25:24 GMT

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