Ik heb een navigatie gemaakt voor een schoolproject.
Dank gaat mede uit naar Siege!
maar het probleem is dat het niet werkt in IE6. (IE7 wel)
Als je er overheen gaan onstaat er in IE6 een extra header balk en je krijg dus menu-tabs en dropdown niet te zien.
Ik probeerde al met Conditional comments voor IE6 iets eraan te doen, maar het heeft tot nu toe nog niet geholpen.
Ben al sinds gisteravond ermee bezig geweest, maar krijg het maar niet voor elkaar.
Als iemand tips heeft graag!
link:
http://www.andy-man.nl/php/rentafriend/
css
IE6.css aanroepen
ie6.css
HTML
heeft iemand enig idee?
Dank gaat mede uit naar Siege!
maar het probleem is dat het niet werkt in IE6. (IE7 wel)
Als je er overheen gaan onstaat er in IE6 een extra header balk en je krijg dus menu-tabs en dropdown niet te zien.
Ik probeerde al met Conditional comments voor IE6 iets eraan te doen, maar het heeft tot nu toe nog niet geholpen.
Ben al sinds gisteravond ermee bezig geweest, maar krijg het maar niet voor elkaar.
Als iemand tips heeft graag!
link:
http://www.andy-man.nl/php/rentafriend/
css
Cascading Stylesheet:
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
| #navigation { width: 600px; margin: 0px auto; padding-top:110px; padding-left: 220px; } #navigation a { color: #FFF; text-decoration: none; text-align: center; text-transform: uppercase; width: 120px; height: 30px; display: block; font: 10px/30px Verdana, Arial, Helvetica, sans-serif } #navigation ul { list-style-type: none; } #navigation ul li { display: block; width: auto; float: left; } #navigation ul li ul { position: absolute; display: none; clear: both; width: 120px; padding-right: 4px; padding-bottom: 4px; padding-left: 2px; margin-left: -2px; background: url(../images/header/menu_shadow.png) bottom right; z-index: 20; } #navigation ul li:hover, #navigation ul li.hover { background: url(../images/header/menu_tab.gif) no-repeat top; } #navigation ul li:hover ul, #navigation ul li.hover ul { display: block; border-top: 1px solid #FFF } #navigation ul li ul li { float: none; background: #390; border-right: 1px solid #F1F1EE; border-left: 1px solid #FFF; } #navigation ul li ul li a { width: auto; height: 20px; display: block; background: #FAFAF9 url(../images/header/menu_option_hover.gif) no-repeat top; line-height: 20px; color: #555; text-transform: none; text-align: left; padding: 1px 10px 1px 10px; border-top: 1px solid #FFF; border-bottom: 1px solid #F1F1EE; } #navigation ul li ul li a:hover { background: #FAFAF9 url(../images/header/menu_option.gif) no-repeat bottom; color: #039; border-top: 1px solid #F1F1EE; border-bottom: 1px solid #FFF; padding-left: 11px; } |
IE6.css aanroepen
HTML:
1
2
3
| <!--[if lte IE 6]> <link rel="stylesheet" type="text/css" media="screen" href="styles/IE6.css" /> <![endif]--> |
ie6.css
Cascading Stylesheet:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| /* Hacks for IE 5.5 & IE6 */ #navigation ul li ul { background: none; padding: 0px; border: 1px solid #DEDEDD; width: 118px; margin-left: 0px; } #navigation a:hover { background: url(../images/header/menu_tab_hover.gif) no-repeat top; } |
HTML
HTML:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| <div id="navigation"> <ul> <li><a href="#">home</a> </li> <li><a href="#">mijn profiel</a> <ul> <li><a href="#">Profiel pagina</a></li> <li><a href="#">wijzig profiel</a></li> </ul> </li> <li><a href="#">zoeken</a> <ul> <li><a href="#">Alle</a></li> <li><a href="#">specifiek</a></li> </ul> </li> <li><a href="#">faq</a></li> <li><a href="#">contact</a></li> </ul> </div> </div> |
heeft iemand enig idee?
Huub Huub Barbatruc!