Salut a tous
Je suis novice et après avoir essayé de créer un site web avec Namo Editor 6, jai décidé de le laisser tomber et dapprendre le XHTML et CSS afin de suivre les conseils que jai vu sur le forum :-)
Donc mon problème est le suivant, au départ jallais utiliser un tableau pour faire ma mise en page MAIS jai lu que les tableaux sont à éviter pour faire une mise en page, donc ma question est : comment faire la mise en page en xhtml et css et avoir le même résultat que mon fichier (tester le code)
En bref, comment feriez vous pour obtenir le même résultat que le fichier?
Merci davance
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>Bienvenue</title>
<meta name="generator" content="Namo WebEditor(Trial)">
</head>
<body bgcolor="#333333" text="black" link="blue" vlink="purple" alink="red" topmargin="40" marginheight="40">
<table align="center" border="1" width="950" height="550">
<tr>
<td width="210" height="112" align="center" valign="middle" bgcolor="white">IMAGE</td>
<td width="530" height="112" align="center" valign="middle" bgcolor="white">IMAGE</td>
<td width="210" height="112" align="center" valign="middle" bgcolor="white">
<p>IMAGE</p>
</td>
</tr>
<tr>
<td width="210" height="30" bgcolor="white"> <b><font color="#333366"> Présentation</font></b></td>
<td width="530" rowspan="4" valign="top" bgcolor="white">
<p> </p>
<p align="center">IMAGE</p>
<p> </p>
<p align="center">La largeur de la fenetre est de 950</p>
<p align="center">La hauteur de la fenetre est de 550</p>
<p> </p>
<p><b><u><span style="font-size:14pt;">Titre</span></u></b></p>
<p align="justify" style="text-indent:20; line-height:150%;">2 PARAGRAPHES DE TEXTE</p>
</td>
<td width="210" rowspan="4" bgcolor="white">
<p align="center">IMAGE</p>
</td>
</tr>
<tr>
<td width="210" height="211" valign="middle" nowrap bgcolor="#333399" style="font-weight:bold; color:white;">
<table border="0" width="210" cellspacing="5" style="font-weight:bold; color:white;">
<tr>
<td width="204"> Item 1 + sous menu</td>
</tr>
<tr>
<td width="204">
<p> Item 2</p>
</td>
</tr>
<tr>
<td width="204">
<p> Item 3</p>
</td>
</tr>
<tr>
<td width="204">
<p> Item 4</p>
</td>
</tr>
<tr>
<td width="204"> Item 5</td>
</tr>
<tr>
<td width="204"> Item 6</td>
</tr>
<tr>
<td width="204">
<p> Item 7</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="210" height="30" bgcolor="white"> <b><font color="#333366">Information</font></b></td>
</tr>
<tr>
<td width="210" height="130" bgcolor="#333399">
<table align="center" border="0" width="210" cellspacing="5">
<tr>
<td width="204" style="font-weight:bold; color:white;">
<p> Item 8</p>
</td>
</tr>
<tr>
<td width="204" style="font-weight:bold; color:white;">
<p> Item 9</p>
</td>
</tr>
<tr>
<td width="204" style="font-weight:bold; color:white;">
<p> Item 10</p>
</td>
</tr>
<tr>
<td width="204" style="font-weight:bold; color:white;">
<p> Item 11</p>
</td>
</tr>
<tr>
<td width="204" style="font-weight:bold; color:white;">
<p> Item 12</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
<p> </p>
</body>
</html>