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

Re: Styles for Input Elements?

From: Chris Lilley <chris@w3.org>
Date: Thu, 12 Mar 1998 02:00:30 +0100
Message-ID: <350733AE.86B5F98C@w3.org>
To: Chris Wilson <cwilso@MICROSOFT.com>
CC: "Shah, Anup" <ashah@strategy.com>, "'www-style@w3.org'" <www-style@w3.org>
Chris Wilson wrote:
> Erm, you didn't mean to leave a space between "input" and "[type=text]", did
> you?

Correct, I didn't and was surprised to see it there when you pointed it

imput[type=text] means select input elements which have a type attribute
which has the exact value "text"

input [type=text] means select any element, (with type attribute whose
value is text), which is some descendant of an input element. There will
be no such elements in a conformant HTML document.

Chris Lilley, W3C                             http://www.w3.org/
Graphics,Fonts,Stylesheets Guy    The World Wide Web Consortium
http://www.w3.org/people/chris/              INRIA,  Projet W3C
chris@w3.org                       2004 Rt des Lucioles / BP 93
+33 (0)492 387 987 <NEW    06902 Sophia Antipolis Cedex, France
Received on Wednesday, 11 March 1998 20:00:22 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:46 UTC