par
x@v » 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>
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]/******************** 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][code]
<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>[/code]