Page 1 sur 1

pb ac les objet de type input

Posté : 26 juin 2006, 16:27
par JDante
Bonjour tout le monde j'ai un probleme avec mes objet de type input dans mon CSS.
input.submit { border:1px solid #FFFFFF; background-color:#AD0808; font-size:8pt; 
		font-style:normal; font-decoration:none; font-family:Verdana,Arial 
		sans-serif; color:#FFFFFF; }
il ne se passe rien .... y a t'il une erreur dans mon code ???

Posté : 26 juin 2006, 16:30
par guilt92
Une inversion je crois

pour border c width color style et non pas width style color. Aussi il manque une , entre Arial et sans-serif.
input.submit { 
border:1px white solid; 
background-color:#AD0808; 
font-size:8pt; 
font-style:normal; 
font-decoration:none; 
font-family: Verdana, Arial, sans-serif; 
color:#FFFFFF; 
} 
A essayer... ;) chez moi ca fonctionne.

IE c'est nul

Posté : 26 juin 2006, 16:41
par JDante
petite constatation de derniere minute mon code marche sous
j'ai changer en metant input[type="submit"]

Cela marche sous FireFox mais pas sous IE :s

edit: merci d'avoir repondu guit92