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

lilley (lilley@afs.mcc.ac.uk)
Fri, 8 Dec 1995 18:03:35 +0000 (GMT)


> > 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/ | 
+-------------------------------------------------------------------+