Bonjour,
je suis en auto formation et j ai écrit ce code de multiples façon, mais rien à faire je n'arrive pas à faire correctement communiquer les deux !! le final doit etre une page d'images de même format, affichées en lignes de 4? ça marche si je recopie la feuille de style sur chaque composant mais je souhaite l extérioriser, est ce qu'une bonne âme voudrait bien m indiquer comment faire ? merci
CSS :
HTML :
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 a.revenir{ padding: 0; position:absolute; left:18px; top:11px; width:200px; height:16px; z-index:2; text-align:left; color:#000000; font-family:Arial; font-size:13px; text-decoration:none; } a.tableau { padding: 4px 4px 4px 4px; text-align: center; vertical-align: middle; position:absolute; left:24px; top:37px; width:1012px; height:1756px; z-index:1; } a.cadres { border: 0px #000000 solid; width:240px; height:240px; }
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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 <!DOCTYPE html> <!-- Objets de la catégorie Tirelires. --> <html> <head> <title>Tirelires</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <link href="galerie.css" rel="stylesheet" type="text/css"/> <span class="revenir">Revenir à la <a href="lesObjets.html">boutique artisanale.</a></span> <br> <br/> <span class="tableau" styleClass="tableau"> <td> <a href="images/TI_01.JPG" class="cadres" ><img alt="" title="" src="images/TI_01.JPG" class="cadres" ></a> <a href="images/TI_02.JPG" class="cadres" ><img alt="" title="" src="images/TI_02.JPG" class="cadres" ></a> <a href="images/TI_03.JPG" class="cadres" ><img alt="" title="" src="images/TI_03.JPG" class="cadres" ></a> <a href="images/TI_04.JPG" class="cadres" ><img alt="" title="" src="images/TI_04.JPG" class="cadres" ></a> </td> <td class="cadres"> <a href="images/TI_05.JPG"><img alt="" title="" src="images/TI_05.JPG"></a> <a href="images/TI_06.JPG"><img alt="" title="" src="images/TI_06.JPG"></a> <a href="images/TI_07.JPG"><img alt="" title="" src="images/TI_07.JPG"></a> <a href="images/TI_08.JPG"><img alt="" title="" src="images/TI_08.JPG"></a> </td> <td class="cadres"> <a href="images/TI_09.JPG"><img alt="" title="" src="images/TI_09.JPG"></a> <a href="images/TI_10.JPG"><img alt="" title="" src="images/TI_10.JPG"></a> <a href="images/TI_11.JPG"><img alt="" title="" src="images/TI_11.JPG"></a> <a href="images/TI_12.JPG"><img alt="" title="" src="images/TI_12.JPG"></a> </td> <td class="cadres"> <a href="images/TI_13.JPG"><img alt="" title="" src="images/TI_13.JPG"></a> <a href="images/TI_14.JPG"><img alt="" title="" src="images/TI_14.JPG"></a> <a href="images/TI_15.JPG"><img alt="" title="" src="images/TI_15.JPG"></a> </td> </span> </body> </html>
![]()
Partager