Bonjour a tous.

Je fais une page web avec du css et des divs dedans le problème et que j'aimerais que toutes ces divs soient a l’intérieur d'une autre afin que quand je resize la fenêtre de l'explorateur, toutes les divs s'adaptent.

voici mon code, ne riez pas....je debute

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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<html>
</head>
 
 
<style type="text/css">
 
#div1,#div1 {
   height: 94px;
   width:100%;
   position: absolute;
   top:0px;
   left:0px;
   background-color: #F96;
   padding-left: 0px;
}
 
#div2 {
   z-index: 2;
   position: absolute;
   width: 135px;
   height: 135px;
   top: 26px;
   left: 130px;
   background-image: url("../PNG/logo.png");
   background-repeat:no-repeat
}
 
 
#div3 {   z-index: 2;
   position: absolute;
   width: 68px;
   height: 90px;
   top: 66px;
   left:1100px;
   background-image: url("../PNG/about.png");
   background-repeat:no-repeat
}
#div4 {   z-index: 2;
   position: absolute;
   width: 65px;
   height: 94px;
   top: 66px;
   left: 1200px;
   background-image: url("../PNG/app.png");
   background-repeat:no-repeat
}
#div5 {   z-index: 2;
   position: absolute;
   width: 65px;
   height: 94px;
   top: 66px;
   left: 1300px;
   background-image: url("../PNG/talk.png");
   background-repeat:no-repeat
}
 
#div6 {   z-index: 2;
   position: absolute;
   width: 67px;
   height: 90px;
   top: 67px;
   left: 1400px;
   background-image: url("../PNG/donate.png");
   background-repeat:no-repeat
}
 
#div7 {   z-index: 2;
   position: absolute;
   width: 65px;
   height: 97px;
   top: 67px;
   left: 1500px;
   background-image: url("../PNG/bug.png");
   background-repeat:no-repeat
}
 
#div8 {   z-index: 2;
   position: absolute;
   width: 68px;
   height: 98px;
   top: 67px;
   left: 1600px;
   background-image: url("../PNG/devlab.png");
   background-repeat:no-repeat
}
 
#div9 {   z-index: 2;
   position: absolute;
   width: 65px;
   height: 90px;
   top: 68px;
   left: 1700px;
   background-image: url("../PNG/link.png");
   background-repeat:no-repeat
}
 
#div10 {   z-index: 2;
   position: absolute;
   width: 72px;
   height: 90px;
   top: 68px;
   left: 1800px;
   background-image: url("../PNG/contact.png");
   background-repeat:no-repeat
   
}
 
#div2b {   z-index: 3;
   position: absolute;
   width: 95px;
   height: 80px;
   top: 8px;
   left: 5px;
   background-image: url("../PNG/better1.png");
   background-repeat:no-repeat
}
#div3b {   z-index: 3;
   position: absolute;
   width: 294px;
   height: 14px;
   top: 8px;
   left: 1610px;
   background-image: url("../PNG/thebest.png");
   background-repeat:no-repeat
}
 
</style>
</head>
 
<body>
 
 
<div id="div1">
<div id="div2"></div>
<div id="div2b"></div>
<div id="div3b"></div>
<div id="div3"></div>
<div id="div4"></div>
<div id="div5"></div>
<div id="div6"></div>
<div id="div7"></div>
<div id="div8"></div>
<div id="div9"></div>
<div id="div10"></div>
 
 
</body>
</html>

merci a tous