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

RE: Styles for Input Elements?

From: Chris Wilson <cwilso@MICROSOFT.com>
Date: Thu, 12 Mar 1998 08:30:05 -0800
Message-ID: <C35556591D34D111BB5600805F1961B90508FD0D@red-msg-47.dns.microsoft.com>
To: "'Shah, Anup'" <ashah@strategy.com>, "'Chris Lilley'" <chris@w3.org>
Cc: "'www-style@w3.org'" <www-style@w3.org>
No, it won't work with IE 4.0.  That's a new CSS2 syntax.

> -----Original Message-----
> From:	Shah, Anup [SMTP:ashah@strategy.com]
> Sent:	Thursday, March 12, 1998 6:15 AM
> To:	Chris Wilson; 'Chris Lilley'
> Cc:	'www-style@w3.org'
> Subject:	RE: Styles for Input Elements?
> 
> On Wednesday, March 11, 1998 5:58 PM, Chris Wilson
> [SMTP:cwilso@MICROSOFT.com] wrote:
> > Erm, you didn't mean to leave a space between "input" and
> "[type=text]", did
> > you?
> > 
> 
> With or without the space, I can't seem to get it to work... (Using
> IE4.0)
> 
> Anup
> 
> Here is a sample HTML I tried...
> 
> <HTML>
> <HEAD>
> 	<TITLE>Untitled</TITLE>
> 	<style>
> 	<!--
> 		input[type=text] { font: normal 80% arial;
> background-color:#e7e7e7; color:"Gray"; }
> 	-->
> 	</style>
> </HEAD>
> 
> <BODY>
> 
> <p>Enter Some text below.</p>
> <input type=text value="Some Text Here">
> 
> </BODY>
> </HTML>
> 
> > -Chris
> > 
> > > -----Original Message-----
> > > From:	Chris Lilley [SMTP:chris@w3.org]
> > > Sent:	Wednesday, March 11, 1998 1:11 PM
> > > To:	Shah, Anup
> > > Cc:	'www-style@w3.org'
> > > Subject:	Re: Styles for Input Elements?
> > > 
> > > 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 Thursday, 12 March 1998 11:30:58 GMT

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