W3C home > Mailing lists > Public > www-style@w3.org > March 1999

Re: a simple question

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Tue, 9 Mar 1999 13:54:39 -0500 (EST)
Message-Id: <199903091854.NAA10703@login4.fas.harvard.edu>
To: dbaron@fas.harvard.edu, py8ieh=www-style@bath.ac.uk
Cc: www-style@w3.org
> Date: Tue, 9 Mar 1999 18:03:10 +0000 (BST)
> From: Ian Hickson <py8ieh@bath.ac.uk>
> Subject: Re: a simple question
> 
> On Tue, 9 Mar 1999, L. David Baron wrote:
> > If user stylesheets specify any color/background pair with important
> > weight for an element, then they should specify the same color for
> > all descendants (using the universal selector and possibly other
> > selectors) of the element and transparent (not inherit) for all
> > descendants of the element. Transparent should be used so that
> > positioning does not lead to covering of text. For example:

OK.  This should only be done on the root element.  That should solve
the problem.  Change all the Ps in that example to HTML (or BODY, for
some UAs).  And authors should not position anything outside of the
root element.

> What if one of the P children is positioned out-of-flow so that it is
> over a different element than its normal parent? 
> 
> The transparency could then clash with the new background-color,
> causing a nice clash and illegible text.

David
Received on Tuesday, 9 March 1999 13:54:53 GMT

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