Bouton radio en css
Résolu
duchnoki
Messages postés
158
Date d'inscription
Statut
Membre
Dernière intervention
-
math 2000 Messages postés 2605 Date d'inscription Statut Membre Dernière intervention -
math 2000 Messages postés 2605 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Je veux faire un bouton radio à parti d'image (radio on, radio off, radio off over, radio on over, radio off pressé, radio on pressé : ses image on comme taille 13x13) en css mais il ne respecte pas la taille demandé.
Voici mon code :
a.radiof {
color:black;
background-image:url(radiof.png);
height:13px;
width:13px;
}
a.radiof:hover{
background-image:url(radioaf.png);
}
a.radiof:active{
background-image:url(radiopf.png);
}
a.radion {
color:black;
background-image:url(radion.png);
height:13px;
width:13px;
}
a.radion:hover{
background-image:url(radioan.png);
}
a.radion:active{
background-image:url(radiopn.png);
}
______________________________________
radion : radio on
radiof : radio off
______________________________________
Quelqu'un peut-il m'aider ???
Merci.
Je veux faire un bouton radio à parti d'image (radio on, radio off, radio off over, radio on over, radio off pressé, radio on pressé : ses image on comme taille 13x13) en css mais il ne respecte pas la taille demandé.
Voici mon code :
a.radiof {
color:black;
background-image:url(radiof.png);
height:13px;
width:13px;
}
a.radiof:hover{
background-image:url(radioaf.png);
}
a.radiof:active{
background-image:url(radiopf.png);
}
a.radion {
color:black;
background-image:url(radion.png);
height:13px;
width:13px;
}
a.radion:hover{
background-image:url(radioan.png);
}
a.radion:active{
background-image:url(radiopn.png);
}
______________________________________
radion : radio on
radiof : radio off
______________________________________
Quelqu'un peut-il m'aider ???
Merci.
A voir également:
- Bouton radio en css
- Radio française - Télécharger - Médias et Actualité
- Bouton reinitialisation pc - Guide
- Diagnostic bouton photo - Accueil - Outils
- Bouton on/off comment savoir ✓ - Forum Matériel & Système
- Symbole arrêt marche - Forum Word
8 réponses
j'ai trouvé ça je vais voir
http://www.no-margin-for-errors.com/projects/prettyCheckboxes/
en plus tu peux modifier la largeur
donc je te conseil ça plutot qu'un truc qui est invisible sous tous ce qui n'est pas ie
http://www.no-margin-for-errors.com/projects/prettyCheckboxes/
en plus tu peux modifier la largeur
donc je te conseil ça plutot qu'un truc qui est invisible sous tous ce qui n'est pas ie
il faut que tu mettent la même taille à tous par exemple radiof active n'a pas de taille si c'est pas ça montre met la page en ligne pour qu'on est les images
...
Voici un lien pour télécharger le zip contenant la page. Ouvrez 1.html avec IE !
http://np001.synthasite.com/radiotest
Voici un lien pour télécharger le zip contenant la page. Ouvrez 1.html avec IE !
http://np001.synthasite.com/radiotest
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
la premiere chose que je vois c'est que ça marche que sous ie donc je vais le passer azau html validator d'abord avant de continuer sinon le 2eme ne peux être cliqué
ok au fait j'ai justement fait un tutoriel sur la personnalisation des checkbox et les radio
http://bormat2.free.fr/wordpress4/
http://bormat2.free.fr/wordpress4/
P.S : excuser-moi pour le retard, j'avais un petit problème d'internet