- From: Shah, Anup <ashah@strategy.com>
- Date: Thu, 12 Mar 1998 09:15:36 -0500 (EST)
- To: "'Chris Wilson'" <cwilso@MICROSOFT.com>, "'Chris Lilley'" <chris@w3.org>
- Cc: "'www-style@w3.org'" <www-style@w3.org>
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 Wednesday, 18 March 1998 04:04:05 UTC