W3C home > Mailing lists > Public > www-style@w3.org > June 2004

Diferents styles for each input type

From: Adinet ) Alejandro Michelin Salomon <alejmsg@adinet.com.uy>
Date: Mon, 14 Jun 2004 14:54:01 -0300
To: <www-style@w3.org>
Message-ID: <007801c45238$9643abc0$b301a8c0@probrax2>
How i can applay diferents style to each input type, that apply to all
de site ?
 
Ex:?
This are applay to all pages in the site.
 
Generic input style, applay to all input in the site.
input { margin: 0px; padding: 0 px; }
 
 
style for text type, applay only for text type.
 
{ border: 1px solid gray; }
 
Is valid this style : input.text { border: 1px solid gray; }
 
style for submit type, applay only for submit type.
 
{ cursor: hand; background-color: transparent;
  backgroud-position : center; 
  background-image : url(../images/submit.gif); }
 
Is valid this style : input.sumit { cursor: hand; background-color:
transparent; 
  backgroud-position : center; 
  background-image : url(../images/submit.gif); }
 
Alejandro M.S.
Received on Monday, 14 June 2004 13:54:28 GMT

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