I see it working in Firefox but not IE. However, this blog makes some suggestions on how to add javascript to make that happen on IE:
http://cf-bill.blogspot.com/2005/05/styling-all-input-typetext-webpage.html Regards, David -----Original Message----- From: Hansjörg Meuschel [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 3:20 AM To: MyFaces Discussion Subject: Re: css problem with default input type="text" thank you david - works great David Friedman wrote: >Try this: > >input[type="text"] { color: #EFEFEF; } >input[type="submit"] { color: yellow; } > >Regards, >David > >-----Original Message----- >From: Hansjörg Meuschel [mailto:[EMAIL PROTECTED] >Sent: Wednesday, May 24, 2006 2:26 AM >To: MyFaces Discussion >Subject: css problem with default input type="text" > > >Hello, >how do I define a default background color for text input elements >only(!) in css? > >Defining something like >input { > background-color: #EFEFEF; >} >makes all buttons look ugly so I'm searching for a way to define this >for text type inputs only... > >any ideas? >greets hans

