Bonjour,
Je galère depuis le début d'après midi avec les div
Voici le css de ma page :et ma page réduite au plus simple pour le moment :
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
53
54
55
56
57
58
59 <style type="text/css"> body { margin:0; padding: 0; background-color: #818181; background-image: url(img/fond.png); background-repeat: repeat-X; text-align: center ; } *{ font-family: "Trebuchet MS"; font-size: 11px; color: #464646; } .body { width: 900px; height: 500px; margin:auto; padding: 0; background-color: #FFFF00; text-align: justify; background: url(http://team-gt5net.com/~site/img/logo.png) no-repeat right top ; } .connexion{ width: 400px; height: 30px; padding: 10px 0 0 15px; background-color: #00FF00; } .menu { width: 900px; height: 30px; background-color: #0000FF; } .page { width: 900px; height: 50px; background-color: #00FFFF; } h1{ margin: 10px 25px 0 25px; padding: 0 0 0 5px; font-size: 24px; font-weight: 100; border-bottom:1px dotted #464646; } p{ margin: 10px 25px 0 25px; padding: 0; font-size: 12px; } </style>
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 <div class="body"> <div class="connexion"> <form action="#" method="post"> ID psn : <input type="text" name="login" size="20" maxlength="25" value=""> <input type="password" name="password" size="12" maxlength="12"> <input type="submit" value="OK"> » <a href="#">Inscription</a> </form> </div> <div class="menu"><a href="#">Accueil</a> | <a href="#">Link</a> | <a href="#">Link</a> | <a href="#">Link</a> | <a href="#">Link</a> </div> <div class="page"> <h1>Exemple de titre</h1> <p>premier paragraphe</p> </div> </div>
J'ai un décalge entre IE & Mozilla pour le padding du div connexion que je n'arrive pas à résoudremême après des recherches et de multiples essais rien y fait
Merci pour votre aide
Partager