Ik ben bezig met een website waarbij ik aan de linkerkant een plaatje heb. Over dit plaatje wil ik een tabel laden met links erin. Ik probeer doormiddel van de z-index probeer in het menu voor de afbeelding te krijgen. Alleen het menu blijft achter de afbeelding verdwijnen, behalve als ik het plaatje op -1 zet, maar dan verdwijnt deze in firefox in het niets.
De HTML:
de CSS
Ik hoop dat iemand er een oplossing voor heeft.
De HTML:
HTML:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| <div class="navigation"> <table class="navigation"> <tr><td class="linkkopje"> Next rallies:</td></tr> <tr><td class="navigation"> <a href="rallies/55th.html" class="main_link_double" target="mainframe"> - 55th Slovakia </a> </td></tr> <tr><td class="navigation"> <a href="rallies/56th.html" class="main_link_double" target="mainframe"> - 56th Portugal </a> </td></tr> <tr><td class="navigation"> <a href="rallies/57th.html" class="main_link_double" target="mainframe"> - 57th South Korea </a> </td></tr></table> </div> <div class="imageleft"> <img src="images_template1/rallies.jpg" alt="Rallies" height="350" width="150"> </div> |
de 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
| div.imageleft { position:fixed; left:0px; top:0px; width:150px; height:350px; z-index:0; } table.navigation { width:150px; border: 0px; } td.linkkopje { font-weight: bold; text-decoration: none; display: block; width: 100%; color: #FFFFFF; line-height: 20px; background-color: #000000; text-align:left; width:150px; height: 20px; vertical-align: middle; z-index:2; background-color: #000000; filter:alpha(opacity=60); opacity: .6; -moz-opacity: .6; } div.navigation { z-index:1; } td.navigation { width:150px; height: 20px; vertical-align: middle; background-color: #000000; filter:alpha(opacity=60); opacity: .6; -moz-opacity: .6; } a.main_link_double:active,a.main_link_double:visited,a.main_link_double:link{ font-weight: bold; text-decoration: none; display: block; width: 100%; color: #FFFFFF; line-height: 20px; background-color: #000000; text-align: left; } a.main_link_double:hover{ background-color:#333333; color: #FFFFFF; text-align: left; } |
Ik hoop dat iemand er een oplossing voor heeft.