- From: Martin E <espmartin@hotmail.com>
- Date: Fri, 23 Jan 2004 14:13:53 -0800
- To: "Monica Moen" <monica@spsp.com>, <www-html@w3.org>
- Message-ID: <BAY2-DAV102FTVPuxTU0000d73a@hotmail.com>
Oops - typo! <input type="password" id="input-password" /> password area<br /> ----- Original Message ----- From: Martin E To: Monica Moen ; www-html@w3.org Sent: Friday, January 23, 2004 2:01 PM Subject: Re: xhtml styles IE doesn't support element[type=anything] - you can, however, access the form fields by: p { /* just to make the test form look good */ border: 1px solid #3c0; padding: 20px; text-align: left; } input { /* all input fields in form */ border:solid #7F9D89 1px; color: blue; } #input-password { /* password input box, specified by an ID */ border:solid #7F9D89 1px; color: red; } XHTML: <form action="#"> <p>Test form<br /> <input type="text" /> text area <br /> <input type="password" / id="input-password"> password area<br /> </p> </form> HTH Martin E. ----- Original Message ----- From: Monica Moen To: www-html@w3.org Sent: Friday, January 23, 2004 1:34 PM Subject: xhtml styles I'm trying to add styles to form fields. I have the following in my css, but it doesn't work in IE. Is this the proper syntax? input[type=text]{ border:solid #7F9D89 1px; } input[type=password]{ border:solid #7F9D89 1px; }
Received on Friday, 23 January 2004 17:18:59 UTC