Erreur dans mon formulaire
sarah
-
masirkkisoi Messages postés 105 Statut Membre -
masirkkisoi Messages postés 105 Statut Membre -
Bonjour,
j'ai une erreur dans mon formulair quand je clique sur les boutons la page n'apparai pas si quelqu'un vois la faute que j'ai pu faire ce serau cool de m'aider
merci
voila mon code
<table width="1010" height="710" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200" height="255"><img src="images/artisan.gif" width="198" height="245" alt="artisan" /></td>
<td width="783"><img src="images/nouvelban.jpg" width="915" height="255" alt="artisan multiservices" /></td>
</tr>
<tr>
<td height="431"><form method="method" post = "index1.html" >
<input type="image" src="images/accueil.gif" border="0" />
</form>
<form method="method" post = "serrurerie.html" >
<input type="image" src="images/serrurerie.gif" border="0" />
</form>
<form method="method" post = "plomberie.html" >
<input type="image" src="images/plomberie.gif" border="0" />
</form>
<form method="method" post = "electricite.html" >
<input type="image" src="images/electricite.gif" border="0" />
</form>
<form method="method" post = "vitrerie.html" >
<input type="image" src="images/vitrerie.gif" border="0" />
</form>
<form method="method" post = "contact.html" >
<input type="image" src="images/contact.gif" border="0" />
</form></td>
</table>
j'ai une erreur dans mon formulair quand je clique sur les boutons la page n'apparai pas si quelqu'un vois la faute que j'ai pu faire ce serau cool de m'aider
merci
voila mon code
<table width="1010" height="710" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200" height="255"><img src="images/artisan.gif" width="198" height="245" alt="artisan" /></td>
<td width="783"><img src="images/nouvelban.jpg" width="915" height="255" alt="artisan multiservices" /></td>
</tr>
<tr>
<td height="431"><form method="method" post = "index1.html" >
<input type="image" src="images/accueil.gif" border="0" />
</form>
<form method="method" post = "serrurerie.html" >
<input type="image" src="images/serrurerie.gif" border="0" />
</form>
<form method="method" post = "plomberie.html" >
<input type="image" src="images/plomberie.gif" border="0" />
</form>
<form method="method" post = "electricite.html" >
<input type="image" src="images/electricite.gif" border="0" />
</form>
<form method="method" post = "vitrerie.html" >
<input type="image" src="images/vitrerie.gif" border="0" />
</form>
<form method="method" post = "contact.html" >
<input type="image" src="images/contact.gif" border="0" />
</form></td>
</table>
5 réponses
-
Pour comprendre ton code, en fait tes boutons sont des images et tu veux que quand tu cliques dessus ça fasse une redirection de page ?
-
oui c'est exactement ca!
la j'ai change le code mais ca marche que sur la page index1 et non sur les autres pages .
<table width="1010" height="710" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200" height="255"> </td>
<td width="783"><img src="images/nouvelban.jpg" width="915" height="255" alt="artisan multiservices" /></td>
</tr>
<tr>
<td height="431"><form id="accueil" method= "post" action = "index1.html" >
<input type="image" src="images/accueil.gif" border="0" />
</form>
<form id="serrurerie" method= "post" action = "serrurerie.html" >
<input type="image" src="images/serrurerie.gif" border="0" />
</form>
<form id="plomberie" method= "post" action = = "plomberie.html" >
<input type="image" src="images/plomberie.gif" border="0" />
</form>
<form id="electricite" method= "post" action = = "electricite.html" >
<input type="image" src="images/electricite.gif" border="0" />
</form>
<form id="vitrerie" method= "post" action = "vitrerie.html" >
<input type="image" src="images/vitrerie.gif" border="0" />
</form>
<form id="contact" method= "post" action = "contact.html" >
<input type="image" src="images/contact.gif" border="0" />
</form></td>
-
-
Salut,
je pense pas qu'un formulaire soit nécessaire..
Si le but est d'être redirigé sur le click d'une image, fais plutôt comme ça<a href="index.html"><img src="images/close.png" width="15" height="15" border="0" />
pour ta mise en page, tu peux utiliser un tableau.
ciaoo -
Bonjour,
Ce n'est pas TOP d'utiliser DES formulaires pour réaliser un menu de navigation web !
Question accessibilité, c'est même déconseillé... Tu devrais revoir ta copie "Menu" afin de rester dans les recommandations W3C. Plein de sites proposent des tutos bien construits pour réaliser des menus CSS/HTML, qui de surcroît sont très design... -
-
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question -
vois sur le http//:www.siteduzero.fr qui est certes assez vieux mais pour les débutants c'est bien expliqué =)