W3C home > Mailing lists > Public > www-style@w3.org > December 1995

Re: draft-ietf-html-style-00.txt & class as a general selector

From: lilley <lilley@afs.mcc.ac.uk>
Date: Fri, 8 Dec 1995 18:03:35 +0000 (GMT)
Message-Id: <13546.9512081803@afs.mcc.ac.uk>
To: Hakon.Lie@sophia.inria.fr (Hakon Lie)
Cc: lilley@afs.mcc.ac.uk, Hakon.Lie@sophia.inria.fr, www-style@w3.org

>  > Could you elaborate exactly how that works? I don't see how the
>  > readers style sheet can influence the presentation of an un-named 
>  > ad-hoc peice of stylesheet on an individual element.


>   <P STYLE="text-decoration: underline">underlined text</P>

>   P { text-decoration: none !important }

OK but that switches off *all* text decoration in *all* paragraphs. If 
that is the only way to overide a nameless ad-hoc formatting instruction 
then sure it is better than switching style sheets off altogether but 
still has some side effects. Wheras if that underlining had been 
applied via class, id or the proposed named style, it could be over-ridden  
without altering anything else.

That was what I meant by "influence the presentation of *an* un-named ..."

-- 
Chris Lilley, Technical Author and JISC representative to W3C 
+-------------------------------------------------------------------+
|  Manchester and North Training & Education Centre   ( MAN T&EC )  |
+-------------------------------------------------------------------+
| Computer Graphics Unit,             Email: Chris.Lilley@mcc.ac.uk |
| Manchester Computing Centre,        Voice: +44 161 275 6045       |
| Oxford Road, Manchester, UK.          Fax: +44 161 275 6040       |
| M13 9PL                            BioMOO: ChrisL                 |
| Timezone: UTC        URI: http://info.mcc.ac.uk/CGU/staff/lilley/ | 
+-------------------------------------------------------------------+
Received on Friday, 8 December 1995 13:06:02 GMT

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