Salut tout le monde,
j'ai une page dans laquelle j'ai 4 images dans des cellules de tableau, mon probleme c'est qu'il y a des espaces entre chacuen d'elles.
Pourtant, j'utilise le padding en CSS, et cellspacing en HTML (puisque le border-spacing ne marche pas sous IE il me semble).
Le truc bizarre mais aps tant que ca est qu'il n y a aucun espace sous Firefox...![]()
Je vous mets mon code :
Code : 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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <link href="langues/stylesheet.css" rel="stylesheet" type="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Webby's</title> </head> <body> <table width="860" border="0" cellspacing="0"> <tr> <td colspan="6"><img src="langues/images/langue_01.gif" width="860" height="84"></td> </tr> <tr> <td> </td> <td width="224"><img src="langues/images/langue_09.gif" width="224" height="390"></td> <td width="141"><img src="langues/images/langue_03.gif" width="141" height="391"></td> <td width="112"><img src="langues/images/langue_04.gif" width="112" height="391"></td> <td width="151"><img src="langues/images/langue_10.gif" width="151" height="391"></td> <td width="193"><img src="langues/images/langue_06.jpg" width="193" height="391"></td> <td></td> </tr> <tr> <td></td> <td>Français</td> <td>Nederlands</td> <td>English</td> <td>Deutsch</td> <td>Español</td> <td> </td> </tr> </table> </body> </html>Merci de votre aide
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 *{ margin:0px; } td{ padding:0px; text-align:center; } img{ border:none; }
Partager