Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 65fd2f64

Von Sven Schöling vor fast 18 Jahren hinzugefügt

  • ID 65fd2f645886548421260f36d00fe20aa1d97878
  • Vorgänger f928a1f6
  • Nachfolger b7bd3cd7

Fix 1 fuer IE6 bugs (bleiben noch 2)

Unterschiede anzeigen:

css/menuv3.css
6 6
width:100%;
7 7
float:left;
8 8
background:url(../image/bg_css_menu.png) repeat bottom;
9
border-width:1px 0 1px 1px;
10
border-style:solid;
9
border:1px solid;
11 10
border-color:#ccc #888 #555 #bbb;
12 11
}
13 12

  
14 13
#menu a, #menu h2, #menu div.x {
15 14
font:11px/16px arial,helvetica,sans-serif;
16 15
display:block;
17
border-width:0 1px 0 0;
16
border:0;
17
border-right:1px;
18 18
border-style:solid;
19 19
border-color:#ccc #888 #555 #bbb;
20 20
white-space:nowrap;
......
24 24

  
25 25
#menu h2 {
26 26
color:#fff;
27
background:#000 url(../image/bg_css_menu.png) repeat bottom;
27
padding:0 5px;
28 28
}
29 29

  
30
#menu a {
31
background:#eee;
30
#menu a, #menu a:visited, #menu div.x, #menu div.x:visited {
31
color:#000;
32 32
text-decoration:none;
33
border-width:1px;
33
/*border-width:1px;*/
34 34
padding-right:10px;
35 35
}
36 36

  
37
#menu a, #menu a:visited {
38
color:#000;
37
#menu a {
38
background:#eee;
39
}
40

  
41
#menu div.x, #menu div.x:visited {
42
background:#eee url(../image/right.gif) no-repeat right;
39 43
}
40 44

  
41
#menu a:hover {
45
#menu a:hover, #menu div.x:hover {
42 46
color:#a00;
43
background:#ddd;
47
background-color:#ddd;
44 48
}
45 49

  
46
#menu a:active {
50
#menu a:active, #menu div.x:active {
47 51
color:#060;
48
background:#ccc;
52
background-color:#ccc;
49 53
}
50 54

  
51 55
#menu ul {
......
58 62

  
59 63
#menu li {
60 64
position:relative;
65
float:none;
66
border:0;
67
}
68

  
69
/* IE6 spacing bug fix, <li>s without a bottom border get spaced to far */
70
#menu ul ul li {
71
border:solid;
72
border-width:0 0 1px 0;
61 73
}
62 74

  
63 75
#menu ul ul {
......
81 93
file and this method */
82 94

  
83 95
div#menu h2:hover {
84
background:#A3C5FF url(../image/expand3.gif) no-repeat -999px -9999px;
96
background:#A3C5FF;
85 97
color:#a00;
86 98
}
87 99

  
......
103 115
{display:block;}
104 116

  
105 117
/* End of non-anchor hover selectors */
118
/*
119
ul {
120
  list-style: none;
121
  padding: 0;
122
  margin: 0;
123
}
106 124

  
107
/* Styling for Expand */
125
li {
126
  float:left;
127
  position:relative;
128
  border:solid;
129
  border-width:0px 0;
130
}
108 131

  
109
#menu a.x, #menu a.x:visited {
110
/*font-weight:bold;*/
111
color:#000;
112
background:#eee url(../image/right.gif) no-repeat right;
113
border-width:1px;
132
li#first {
133
  border-left-width: 1em;
114 134
}
115 135

  
116
#menu a.x:hover {
117
color:#fff;
118
background-color:#000;
136
li#last {
137
  border-right-width: 1em;
119 138
}
120 139

  
121
#menu a.x:active {
122
color:#060;
123
background-color:#ccc;
140
li ul {
141
  display: none;
142
  position: absolute;
143
  top: 100%;
144
  left: 0;
145

  
146
  font-weight: normal;
147
  background: url(images/ddbg3.gif) bottom left no-repeat;
148
  padding: 0.5em 0 1em 0;
149
  border-right: solid 1px #7d6340;
124 150
}
125 151

  
126
#menu div.x, #menu div.x:visited {
127
/*font-weight:bold;*/
128
border-width:1px;
129
color:#000;
130
background:#eee url(../image/right.gif) no-repeat right;
131
padding-right:10px;
152
li>ul {
153
  top: auto;
154
  left: auto;
132 155
}
133 156

  
134
#menu div.x:hover {
135
color:#a00;
136
background-color:#ddd;
157
li li {
158
  display: block;
159
  float: none;
160
  background-color: transparent;
161
  border: 0;
137 162
}
138 163

  
139
#menu div.x:active {
140
color:#060;
141
background-color:#ccc;
164
li:hover ul, li.over ul {
165
  display: block;
166
}
167

  
168
hr {
169
  display: none;
170
}
171

  
172
p {
173
  clear: left;
174
  background: url(images/remora.gif) center left no-repeat;
175
  padding: 1em 1em 0 1em;
176
  margin: 0;
142 177
}
178
*/

Auch abrufbar als: Unified diff