Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: xhtml styles

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" />&nbsp;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" />&nbsp;text area <br />
   <input type="password" / id="input-password">&nbsp;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 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.