W3C home > Mailing lists > Public > www-style@w3.org > August 1997

RE: CSS vs. transitional markup [was: No Subject]

From: Chris Wilson (PSD) <cwilso@MICROSOFT.com>
Date: Mon, 4 Aug 1997 17:00:42 -0700
Message-ID: <41F7F4CE3CA2CF11BC5000805F14B2A9023AC01A@RED-31-MSG.dns.microsoft.com>
To: "'David Perrell'" <davidp@earthlink.net>
Cc: www-style@w3.org
Then are no conflicts between the things you label UA defaults and
inline HTML attributes, so their order doesn't matter.

	-Chris
Chris Wilson
cwilso@microsoft.com
***

> -----Original Message-----
> From:	David Perrell [SMTP:davidp@earthlink.net]
> Sent:	Monday, August 04, 1997 2:05 PM
> To:	Chris Wilson (PSD); Douglas Rand
> Cc:	www-style@w3.org; Todd Fahrner
> Subject:	Re: CSS vs. transitional markup [was: No Subject]
> 
> Chris Wilson (PSD) wrote:
> > Hmm, I think I agree with you, with a slight amendment.  I believe
> > precedence order, from most preferred to least preferred, should go
> like
> > this:
> > 
> > Inline styles
> > author stylesheet
> > user stylesheet
> > HTML attributes & intrinsic HTML element properties (e.g.,
> BLOCKQUOTE
> is
> > indented)
> > 
> > The change is where HTML properties are handled WRT user
> stylesheets.
> > This allows the user greater control.
> 
> By "intrinsic HTML element properties", do you mean the UA defaults? I
> thought these were going to be contained in the default user
> stylesheet. In any case, I think I agree with you, with a slight
> amendment:
> 
>  Inline styles
>  author stylesheet
>  user stylesheet
>  UA defaults (if applicable)
>  inline HTML attributes
> 
> I don't see this as a problem, because inline HTML attributes only
> affect inherited values.
> 
> Consider FONT, for example. With this markup:
> 
>    <H1><FONT SIZE=24>Here is a headline</FONT></H1>
> 
> FONT is a child of H1. H1 font-size is declared in UA defaults or user
> stylesheet. With no explicit declaration, FONT will inherit that
> value.
> But an explicit declaration for font-size in FONT will override the
> inheritance, even though the relative weight of the declaration is
> lowest in the hierarchy.
> 
> David Perrell
Received on Monday, 4 August 1997 20:00:45 GMT

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