CSS к выпадающему списку

 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
#header_menu {
font-size:90%;
color:#e1e1e1;
}
ul#nav {
margin: 0;
padding: 0;
}
ul#nav li {
float: left;
position: relative;
display: block;
}
ul#nav a {
color:#e1e1e1;
text-decoration: none;
display: block;
padding: 10px 0 10px 5px;
}
#nav a:hover {
color: #fff;
}
#nav li:hover,
#nav li.jshover {
}
#nav li ul {
display: none;
position: absolute;
background: #1b8235;
}
ul#nav li ul li {
background: none;
padding:0;
margin:0;
clear:both;
}
#nav li li a {
width: 230px;
font-size: 90%;
display: block;
padding: 5px 0 3px 10px;
border-top: 1px solid #4ac66e;
}
#nav li ul li a:hover {
background: #fff;
color: black;
}
#nav li:hover ul,
#nav li.jshover ul {
display: block;
margin: 0;
padding:0;
}
#nav li:hover li ul,
#nav li.jshover li ul {
display: none;
top: -9px;
left: 100px;
lef\t: 100px;
}
#nav li:hover li:hover ul,
#nav li.jshover li.jshover ul {
display: block;
}