formulaire de recherche

x@v
Mammouth du PHP | 570 Messages

28 mars 2009, 22:01

Bonsoir,
j'aimperais avoir un formulaire de recherche comme celui-ci
http://www.cours-municipal-d-adultes-cma.cma-paris.org/
donc avec un bouton image.

Code : Tout sélectionner

/******************** formulaire de recherche **********************/ #formRecherche{ position: relative; left: 755px; /** position du formulaire **/ top: 70px; background-color:transparent; width:200px; /** largeur du formulaire**/ height:65px; z-index: 1000;} #rechercheFocus input{ width:200px; height:25px; font-size:110%; float:left; padding: 0; margin:0; background-color:transparent;} #boutonRecherche input{ float: right; margin:-28px 0 0 30px; padding:0; width:30px; height:30px;}

Code : Tout sélectionner

<form action="?page=recherche" method="post"> <span> <input type="hidden" name="page" value="recherche" /> </span> <span id="rechercheFocus"> <input type="text" name="motsCles" value="rechercher" id="effacerRecherche" /> </span> <span id="boutonRecherche"> <input src="img/Search.png" alt="rechercher" type="image" /> </span> </form>

Avatar du membre
Administrateur PHPfrance
Administrateur PHPfrance | 9782 Messages

29 mars 2009, 03:03

Bonjour,

Quel est le problème?
Quand tout le reste a échoué, lisez le mode d'emploi...

x@v
Mammouth du PHP | 570 Messages

29 mars 2009, 04:08

ça fonctionne pas sur ie.
je cherche la bonne façon de faire