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

Re: Styles for Input Elements?

From: Chris Lilley <chris@w3.org>
Date: Wed, 11 Mar 1998 22:11:07 +0100
Message-ID: <3506FDEB.B343002@w3.org>
To: "Shah, Anup" <ashah@strategy.com>
CC: "'www-style@w3.org'" <www-style@w3.org>
Shah, Anup wrote:
> 
> I take it that while I could specify a style for INPUT, I cannot specify
> a style for, say SUBMIT, or TEXT? 
> 
> If I am wrong PLEASE let me know!!

Given that the relevant HTML is <input type=text> the CSS2 selector you
want is

input [type=text] { your stuff here }

> (I am using and developing for IE4.0 only - nice luxury!)

Oh. Since IE 4 predates the attribute selector syntax this won't work.

-- 
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 16:11:09 GMT

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