Bonjour,
Après avoir planché toute la mitinée et ce début d’après midi,
j’ai trouvé une façon de mettre une image à la place du bouton pour submit.
Si cela peut aider...
sur la page formulaires/recherche. html,
<div class="formulaire_spip formulaire_recherche[ (#ENV{class})]" id="formulaire_recherche">
<form action="[(#ENV{action})]" method="get"><div>
[(#ENV{action}|form_hidden)]
[<input type="hidden" name="lang" value="(#ENV{lang})" />]
<label for="#ENV{_id_champ}"> </label>
<input type="[(#HTML5|?{search,text})]" class="search text" size="10" name="recherche" id="#ENV{_id_champ}"[ value="(#ENV{recherche})"] accesskey="4" autocapitalize="off" autocorrect="off"
/>
<input type="submit" class="submit" value="" title="ok" />
</div></form>
</div>
.
et sur la page css/style. css :
.formulaire_recherche input.text { width: 10em; padding-left: 20px; background-image: url(img/recherche.png); background-repeat: no-repeat; background-position: left center; }
.formulaire_recherche input.submit{ border:none; padding:none; background: transparent; background-image: url(img/ok.png); }
L’image étant placée dans css/img.
Par contre mon image fait 33x33px, j’ai beau mettre width et height, je n’arrive pas à l’avoir entière, si vous trouvez comment, je vous remercie.
cordialement