Revision eaa892c0
Von Sven Schöling vor etwa 18 Jahren hinzugefügt
css/menuv3.css | ||
---|---|---|
2 | 2 |
behavior:url("css/csshover.htc"); |
3 | 3 |
} |
4 | 4 |
|
5 |
#menu{ |
|
5 |
#menu {
|
|
6 | 6 |
width:100%; |
7 | 7 |
float:left; |
8 | 8 |
background:url(../image/bg_css_menu.png) repeat 100% 100%; |
... | ... | |
22 | 22 |
padding:1px 0 1px 3px; |
23 | 23 |
} |
24 | 24 |
|
25 |
#menu h2{ |
|
25 |
#menu h2 {
|
|
26 | 26 |
color:#fff; |
27 | 27 |
background:#000 url(../image/bg_css_menu.png) repeat 100% 100%; |
28 | 28 |
} |
29 | 29 |
|
30 |
#menu a{ |
|
30 |
#menu a {
|
|
31 | 31 |
background:#eee; |
32 | 32 |
text-decoration:none; |
33 | 33 |
border-width:1px; |
34 | 34 |
padding-right:10px; |
35 | 35 |
} |
36 | 36 |
|
37 |
#menu a, #menu a:visited{ |
|
37 |
#menu a, #menu a:visited {
|
|
38 | 38 |
color:#000; |
39 | 39 |
} |
40 | 40 |
|
41 |
#menu a:hover{ |
|
41 |
#menu a:hover {
|
|
42 | 42 |
color:#a00; |
43 | 43 |
background:#ddd; |
44 | 44 |
} |
45 | 45 |
|
46 |
#menu a:active{ |
|
46 |
#menu a:active {
|
|
47 | 47 |
color:#060; |
48 | 48 |
background:#ccc; |
49 | 49 |
} |
50 | 50 |
|
51 |
#menu ul{ |
|
51 |
#menu ul {
|
|
52 | 52 |
list-style:none; |
53 | 53 |
margin:0; |
54 | 54 |
padding:0; |
... | ... | |
56 | 56 |
min-width:7em; |
57 | 57 |
} |
58 | 58 |
|
59 |
#menu li{ |
|
59 |
#menu li {
|
|
60 | 60 |
position:relative; |
61 | 61 |
} |
62 | 62 |
|
63 |
#menu ul ul{ |
|
63 |
#menu ul ul {
|
|
64 | 64 |
position:absolute; |
65 | 65 |
z-index:500; |
66 | 66 |
top:auto; |
67 | 67 |
display:none; |
68 | 68 |
} |
69 | 69 |
|
70 |
#menu ul ul ul{ |
|
70 |
#menu ul ul ul {
|
|
71 | 71 |
top:0; |
72 | 72 |
left:100%; |
73 | 73 |
} |
... | ... | |
80 | 80 |
improves IE's performance speed to use the older |
81 | 81 |
file and this method */ |
82 | 82 |
|
83 |
div#menu h2:hover{ |
|
83 |
div#menu h2:hover {
|
|
84 | 84 |
background:#A3C5FF url(../image/expand3.gif) no-repeat -999px -9999px; |
85 | 85 |
color:#a00; |
86 | 86 |
} |
87 | 87 |
|
88 |
div#menu li:hover{ |
|
88 |
div#menu li:hover {
|
|
89 | 89 |
cursor:pointer; |
90 | 90 |
z-index:100; |
91 | 91 |
} |
... | ... | |
106 | 106 |
|
107 | 107 |
/* Styling for Expand */ |
108 | 108 |
|
109 |
#menu a.x, #menu a.x:visited{ |
|
109 |
#menu a.x, #menu a.x:visited {
|
|
110 | 110 |
/*font-weight:bold;*/ |
111 | 111 |
color:#000; |
112 | 112 |
background:#eee url(../image/right.gif) no-repeat 100% 50%; |
113 | 113 |
border-width:1px; |
114 | 114 |
} |
115 | 115 |
|
116 |
#menu a.x:hover{ |
|
116 |
#menu a.x:hover {
|
|
117 | 117 |
color:#fff; |
118 | 118 |
background-color:#000; |
119 | 119 |
} |
120 | 120 |
|
121 |
#menu a.x:active{ |
|
121 |
#menu a.x:active {
|
|
122 | 122 |
color:#060; |
123 | 123 |
background-color:#ccc; |
124 | 124 |
} |
125 | 125 |
|
126 |
#menu div.x, #menu div.x:visited{ |
|
126 |
#menu div.x, #menu div.x:visited {
|
|
127 | 127 |
/*font-weight:bold;*/ |
128 | 128 |
border-width:1px; |
129 | 129 |
color:#000; |
... | ... | |
131 | 131 |
padding-right:10px; |
132 | 132 |
} |
133 | 133 |
|
134 |
#menu div.x:hover{ |
|
134 |
#menu div.x:hover {
|
|
135 | 135 |
color:#a00; |
136 | 136 |
background-color:#ddd; |
137 | 137 |
} |
138 | 138 |
|
139 |
#menu div.x:active{ |
|
139 |
#menu div.x:active {
|
|
140 | 140 |
color:#060; |
141 | 141 |
background-color:#ccc; |
142 | 142 |
} |
Auch abrufbar als: Unified diff
syntaxhighlighting im vi erleichtert (ja, auch vi braucht das manchmal)