Hallo ik ben bezig met een website waarin zich een tabel bevindt waarvan de achtergrond doorzichtig is. Daarom moet dus een div over die tabel plaatsen om de text niet te laten doorschijnen. deze div heb ik dus later met css op de tabel geplaats dmv positionering. hoe laat ik nu deze tabel meerekken met de div ?
de css:
De HTML:
de css:
code:
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
| .inhoud {
position: absolute;
top: 200px;
left: 150px;
}
.div2 {
vertical-align:top;
padding-left: 15px;
padding-top: 5px;
position: absolute;
top: 219px;
left: 150px;
width: 550px;
border-left-width: 2px;
border-left-style: solid;
border-right-width: 1px;
border-right-style: solid;
border-color: #2A2D2E;
color: #FFFFFF;
font-weight: bold;
font-family: Verdana;
font-size: 8pt;
margin: 0;
} |
De HTML:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| <table class="inhoud" width="550" cellspacing="0" cellpadding="0"> <tr> <td height="19" width="550">[img]"images/tabel_b.gif"> [/img] </tr> <tr> <td style="Filter: alpha(opacity=40);" bgcolor="#727B7D" height="700"> </td> </tr> <tr> <td height="15" width="550">[img]"images/tabel_o.gif"> [/img] </tr> </table> <div class="div2"> ...... </div> |
[ Voor 32% gewijzigd door rewind. op 10-01-2004 18:02 . Reden: layout ]