Bonjour ! ^^
Je vais faire simple et cours
Je ne parviens pas a établir un simple float pour mettre des bloc en page....
Je vous montre 2 screenshots, un sous IE et l'autre sous Firefox.
Le résultat attendu est bon sous firefox, mais... pas sous IE....
FF:
IE:
enfin, le code HTML concerné :
et le CSS
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 <div id="site"> <div id="banniere"></div> <div id="menu"> <div id="links"> <div id="headers" class="header"></div> <div id="sublinks" class="sublinks"></div> <div id="headers" class="header"></div> </div> </div> <div id="contenu"></div> <div id="copyright"></div> </div>
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
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 body{ margin: 0px; text-align: center; } #site{ margin-left: auto; margin-right: auto; width: 1024px; text-align: left; } #banniere{ clear: both; width: 1024px; height: 100px; background-color: #003399; border-width: 1px; border-color: #000000; border-style: dashed; } #menu{ width: 200px; height: 10px; background-color: #990033; border-width: 1px; border-color: #000000; border-style: dashed; float: left; } #contenu{ position: relative; left: 200px; width: 824px; height: 10px; background-color: #009900; border-width: 1px; border-color: #000000; border-style: dashed; } #copyright{ clear: both; width: 1024px; height: 25px; background-color: #3333FF; border-width: 1px; border-color: #000000; border-style: dashed; }![]()
Partager