Forum-webmaster
Technique - programmation => HTML / CSS / XHTML => Message commencé par: botechia le le 09-08-2008 a 17:10:02

Titre: html
Posté par: botechia le le 09-08-2008 a 17:10:02

Bonjour,
Je remercie d'avance la personne qui pourra résoudre mon problème.
Je place un code html dans une page de mon site pour recevoir les réservations en direct sur mon email. Voir c-dessous:
<html>

<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Hôtel Restaurant du Commerce Quintin</title>
</head>

<body bgcolor="feffc0">
<table border="0" cellpadding="0" cellspacing="0" width="95%">
<tr>

<td align="center">
<table border="0" cellpadding="0" cellspacing="2" width="634">
<tr>
<td width="36"></td>
<td align="center" width="548">
<table border="0" cellpadding="0" cellspacing="0" width="489">
<tr>
<td width="489">
<div align="center">
<font size="5"><font color="#471b00"><b>RESERVATIONS<br></font>
</td>
</tr>
<tr>
<td width="489">
<div align="center">
<br>
<font size="3"><i><font color="#471b00">Merci de remplir le formulaire ci-dessous, nous vous confirmerons nos disponibilit&eacute;s par retour.</font></div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="36">
<form name="reservation" action="mailto:mialgo@tele2.fr" method="post" enctype="text/plain" target="_self">
</td>
<td width="548"><input type="hidden" value="Demande pour hotelducommerce" name="Reservation"></td>
</tr>
<tr>
<td colspan="2" align="center">
<table border="0" cellpadding="4" cellspacing="2" width="608" height="257">
<tr height="22">
<td width="110" height="22" align="left"><font color="#471b00">Nom</font></td>
<td height="22" colspan="3"><input type="text" name="Nom" size="30"></td>
</tr>
<tr height="22">
<td width="110" height="22" align="left"><font color="#471b00">Pr&eacute;nom</font></td>
<td height="22" colspan="3"><input type="text" name="Prenom" size="30"></td>
</tr>
<tr height="22">
<td width="110" height="22" align="left"><font color="#471b00">Adresse</font></td>
<td height="22" colspan="3"><input type="text" name="Adresse" size="45"></td>
</tr>
<tr height="22">
<td width="110" height="22" align="left"><font color="#471b00">Ville</font></td>
<td height="22" colspan="3"><input type="text" name="Ville" size="30"></td>
</tr>
<tr height="32">
<td width="110" height="32" align="left"><font color="#471b00">Code postal</font></td>
<td height="32" width="122"><input type="text" name="Code Postal" size="13"></td>
<td height="32" width="96"><font color="#471b00">Pays</font></td>
<td height="32" width="222"><input type="text" name="Pays" size="27"></td>
</tr>
<tr height="33">
<td width="110" align="left" height="33"><font color="#471b00">T&eacute;l&eacute;phone</font></td>
<td width="122" height="33"><input type="text" name="Telephone" size="21"></td>
<td width="96" height="33"><font color="#471b00">Portable</font></td>
<td width="222" height="33"><input type="text" name="Portable" size="21"></td>
</tr>
<tr height="32">
<td width="96" height="32"><font color="#471b00">Email</font></td>
<td width="222" height="32"><input type="text" name="Email" size="35"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="36"></td>
<td width="548">
<center>
<br>
<font color="#471b00">Je souhaite r&eacute;server une ou plusieurs chambres &agrave; la date indiqu&eacute;e ci-dessous :<br>
<br>
</font>
</td>
</tr>
<td ><font color="#5eba13"><h4>Reponse souhaitee</h4></font></td>
<td >
<SELECT name="Reponse souhaitee" size="1">
   <OPTION>Email   
   <OPTION>Courrier
   <OPTION>Tél fixe
   <OPTION>Tél mobile
   
   </SELECT>

</td>   </center>
<tr>
<td colspan="2" align="center">
<table border="1" cellpadding="0" cellspacing="2" width="496" height="236">
<tr height="43">
<td width="180" height="43" align="center"><font color="#471b00"><b>Chambres</b></font></td>
<td width="79" height="43" align="center"><font color="#471b00">Arriv&eacute;e<br>
</font><center><font color="#471b00" size="1">Jour/mois/an</font></td>
<td width="79" height="43" align="center"><font color="#471b00">D&eacute;part<br>
</font><font color="#471b00" size="1">Jour/mois/an</font></td>
<td width="79" height="43" align="center"><font color="#471b00">Nombre nuits</font></td>
<td width="79" height="43" align="center"><font color="#471b00">Nombre personnes</font></td>
</tr>
<tr>
<td width="180">
<div align="center">
<font size="1" color="#471b00"><b>SINGLE</b></font></div>
</td>
<td width="79" align="center"><input type="text" name="Arrivee chambre Single" size="10"></td>
<td width="79" align="center"><input type="text" name="Depart chambre Single" size="10"></td>
<td width="79" align="center"><input type="text" name="Nombre de nuits Single" size="5"></td>
<td width="79" align="center"><input type="text" name="Nombre personnes Single" size="5"></td>
</tr>
<tr>
<td width="180">
<div align="center">
<font size="1" color="#471b00"><b>DOUBLE</b></font></center>
</td>
<td width="79" align="center"><input type="text" name="Arrivee chambre Double" size="10"></td>
<td width="79" align="center"><input type="text" name="Depart chambre Double" size="10"></td>
<td width="79" align="center"><input type="text" name="Nombre de nuits Double" size="5"></td>
<td width="79" align="center"><input type="text" name="Nombre personnes Double" size="5"></td>
</tr>
<tr>
<td width="180">
<div align="center">
<font size="1" color="#471b00"><b>FAMILIALE</b></font></center>
</td>
<td width="79" align="center"><input type="text" name="Arrivee chambre Familiale" size="10"></td>
<td width="79" align="center"><input type="text" name="Depart chambre Familiale" size="10"></td>
<td width="79" align="center"><input type="text" name="Nombre de nuits Familiale" size="5"></td>
<td width="79" align="center"><input type="text" name="Nombre personnes Familiale" size="5"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" align="center"><br>
<table border="0" cellpadding="4" cellspacing="2" width="380">
<tr>
<td width="82"><font color="#471b00">Commentaires</font></td>
<td width="300"><textarea name="Commentaires" cols="47" rows="4"></textarea></td>
</tr>
</table>
<br>
</td>
</tr>
<tr>
<td width="36"></td>
<td align="center" valign="top" width="548"><input type="submit" value="Envoyer" name="Envoi"><input type="reset" value="Annuler"><br>
</td>
</tr>
<tr>
<td width="36"></form></td>
<td width="548"></td>
</tr>
</tr>
</table>
</td>
</tr>
</tr>
</table>
</tr>
</table>
</td>
</tr>
</table>
</body>

</html>
Or quand je lis mon site en provisoire sous Firefox, il fonctionne parfaitement et il ne fonctionne pas du tout sous Explorer. Pourquoi ?
Dans l'attente d'une réponse. Salutations les meilleures à tous.

Titre: Re:html
Posté par: HiRoN le le 19-11-2008 a 18:01:02

Parce que tu n'as pas définis de DocType à ta page et que du coup, le navigateur ne sait quel langage/version du langage tu utilises, donc il fais ça à sa sauce ;)

Titre: Re:html
Posté par: botechia le le 20-11-2008 a 07:28:40

Je remercie la personne qui m'a répondu. J'ai trouvé une solution autrement en me servant des services de l 'hébergeur. Salutations à tous.


Forum-webmaster | Actionné par YaBB SE
© 2001-2003, YaBB SE Dev Team. Tous droits réservés.