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

Re: Inheritance?

From: Frank Boumphrey <bckman@ix.netcom.com>
Date: Mon, 28 Sep 1998 16:33:20 -0400
Message-ID: <008901bdeb1f$40e365c0$9eaddccf@ix.netcom.com>
To: <www-style@w3.org>, "Leonard Rosenthol" <leonardr@Adobe.COM>
Leonard wrote:

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

Text-indent only applies to block level objects, and SPAN is an inline flow
object.

The second example should NOT work!!

see below signature  for extract from spec.

Frank

Frank Boumphrey

XML and style sheet info at Http://www.hypermedic.com/style/index.htm
Author: - Professional Style Sheets for HTML and XML http://www.wrox.com


From the spec:-
16.1 Indentation: the 'text-indent' property
'text-indent'
Value:   <length> | <percentage> | inherit
Initial:   0
Applies to:   block-level elements
Inherited:   yes
Percentages:   refer to width of containing block
Media:   visual


-----Original Message-----
From: Leonard Rosenthol <leonardr@Adobe.COM>
To: <www-style@w3.org>
Date: Monday, September 28, 1998 3:28 PM
Subject: Inheritance?
Received on Monday, 28 September 1998 16:33:05 GMT

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