Bonjour,
Soit le code d'une page HTML suivant :
L'image presente dans la cellule du bas presente un leger decalage par rapport au bas de la page si j'ecris dans le fichier :
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 <html> <head> <title>Titre</title> </head> <body style="margin: 0 0 0 0; background-color: #663B2A;"> <center> <table border="0" cellpadding="0" cellspacing="0" style="background-color: #DEBAAC; width: 788px; height: 100%;"> <tr> <td valign="top"> </td> </tr> <tr> <td height="50" valign="bottom"> <img src="../decors/bottom.jpg" width="788" height="50" border="0"> </td> </tr> </table> </center> </body> </html>
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 <td height="50" valign="bottom"> <img src="../decors/bottom.jpg" width="788" height="50" border="0"> </td>
Et elle ne presente pas ce decalage si j'ecris la structure de la façon suivante :
Code html : Sélectionner tout - Visualiser dans une fenêtre à part <td height="50" valign="bottom"><img src="../decors/bottom.jpg" width="788" height="50" border="0"></td>
Quelqu'un saurait-il m'en donner la raison ! Merci d'avance.
Partager