Ik heb onderstaande CSS. Nu heb ik in de DIV submenu een afbeelding met een link erop. Deze zijn gewoon zichtbaar, maar niet aanklikbaar. In Firefox werkt het wel.
Weet iemand wat ik verkeerd doe?
Dit is de HTML:
Weet iemand wat ik verkeerd doe?
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
| #oranjebalk{ width: 100%; height: 218px; position: absolute; left: 0px; top: 127px; font-family: Verdana, Arial, Helvetica, Sans-serif; font-size: 10px; color: #FFFFFF; background-image: url("../afbeeldingen/bg_oranjebalk-trans.png"); background-repeat: repeat-x; z-index: 0; } #foto{ width: 217px; height: 218px; position: absolute; left: 0px; top: 0px; border: 0px; z-index: 1; } #bgoranjebalk{ width: 401px; height: 218px; position: absolute; left: 217px; top: 0px; padding: 20px; background-image: url("../afbeeldingen/bg_oranjebalk.png"); background-repeat: no-repeat; background-position: left top; font-family: Verdana, Arial, Helvetica, Sans-serif; font-size: 10px; color: #FFFFFF; z-index: 1; } #submenu{ width: 179px; height: 189px; float: right; margin-top: 5px; margin-right: 0; position: relative; z-index: 2; } |
Dit is de HTML:
HTML:
1
2
3
4
5
6
7
8
9
10
11
| <div id="oranjebalk"> <div id="foto"><img src="../afbeeldingen/foto_zeilboot.jpg" width="217" height="189" alt="test" /></div> <div id="bgoranjebalk"> Hier komt tekst. </div> <div id="submenu"> <div align="right"><img src="../afbeeldingen/titel_specialisaties.png" width="174" height="25" alt="Onze Specialisaties" /> </div> </div> </div> |
[ Voor 29% gewijzigd door crisp op 22-06-2006 15:42 . Reden: code-tags ]