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
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Document sans titre</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
body{
        margin: 0;
        padding: 0;
}
#sidebar{
        background-color: #555555;
        margin: 0px;
        width: 200px;
        padding: 0px;
        top: 150px;
        left: -1px;
        z-index: 10;
}
.sidebar_fixed {
        position: fixed;
}
/* Pour IE */
* html .sidebar_fixed {
        position: absolute;
}
#sidebar ul{
        padding: 0px;
        margin: 0px;
        border-bottom: 1px solid #666666;
}
#sidebar li{
        margin: 0px;
        border: 1px solid #666666;
        border-bottom: none;
        list-style: none;
}
#sidebar h1{
        font-family: Verdana;
        font-size: 11px;
        color: #EEEEEE;
        background-color: #555555;
        vertical-align: middle;
        display: block;
        padding: 3px 0 3px 1em;
        margin: 0px;
        border-left: 4px solid #777777;
}
#sidebar a{
        font-family: Verdana;
        font-size: 11px;
        color: #EEEEEE;
        text-decoration: none;
        background-color: #555555;
        vertical-align: middle;
        display: block;
        padding: 3px 0 3px 2em;
        margin: 0px;
        border-left: 4px solid #777777;
}
#sidebar a:hover{
        color: #333333;
        background: #888888;
        border-color: #EEEEEE;
}
</style>
</head>
<body bgcolor="#333333">
<div id="sidebar" class="sidebar_fixed"> 
  <ul>
    <li> 
      <h1>Titre 1</h1>
    </li>
    <li><a href="#">Lien 1</a></li>
    <li><a href="#">Lien 2</a></li>
    <li><a href="#">Lien 3</a></li>
    <li><a href="#">Lien 4</a></li>
    <li><a href="#">Lien 5</a></li>
    <li> 
      <h1>Titre 2</h1>
    </li>
    <li><a href="#">Lien 1</a></li>
    <li><a href="#">Lien 2</a></li>
    <li><a href="#">Lien 3</a></li>
    <li><a href="#">Lien 4</a></li>
    <li><a href="#">Lien 5</a></li>
  </ul>
</div>
<table width="990" border="0" align="left" cellpadding="0" cellspacing="1" bgcolor="#000000">
  <tr bgcolor="#500000"> 
    <td width="165" height="1000">&nbsp;</td>
    <td width="660" valign="top">&nbsp;</td>
    <td width="165">&nbsp;</td>
  </tr>
</table>
</body>
</html>
Je suis en train d'essayer de faire un menu statique sur ma page, sous firefox ça a l'air de fonctionner a peu pres par contre sous IE je galere

second probleme un retour a la ligne apparement sous IE ou je sais pas trop ce qu'il fait

tout aide sera la bienvenu

edit : le pire c'est que le site w3.org me valide mon code