Beste mensen
Hoe kan het dat als ik tables in tables in tables gebruik, dat op een gegeven moment Internet Explorer ineens raar gaat doen? Als ik in een <td> nu een <table> plaats met padding en spacing allemaal op 0, maar alignment op rechts, dan lijnt ie niet geheel naar rechts uit!! Maar zo'n 10 pixels voor de rechter border, alsof er ergens een margin of padding aanstaat.
Na alle paddings weggehaald te hebben die ik gebruik, blijft het euvel zich voordoen. Firefox 2.0 werkt het tenminste wel goed uit, maar ja, uit gewenning van de normale gebruiker is Internet Explorer nog steeds het populairst!
Weet iemand dit probleem op te lossen?
Ik hoop het...
Met dank!
Maarten
Hoe kan het dat als ik tables in tables in tables gebruik, dat op een gegeven moment Internet Explorer ineens raar gaat doen? Als ik in een <td> nu een <table> plaats met padding en spacing allemaal op 0, maar alignment op rechts, dan lijnt ie niet geheel naar rechts uit!! Maar zo'n 10 pixels voor de rechter border, alsof er ergens een margin of padding aanstaat.
Na alle paddings weggehaald te hebben die ik gebruik, blijft het euvel zich voordoen. Firefox 2.0 werkt het tenminste wel goed uit, maar ja, uit gewenning van de normale gebruiker is Internet Explorer nog steeds het populairst!
HTML:
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
80
| <html> <head> <title>Intraleven B.V.</title> <link href="style.css" rel="stylesheet" type="text/css"> </head> <body> <table valign="top" cellpadding="0" cellspacing="0" border="1" width="100%" height="100%"> <!-- Main 1 --> <tr> <td valign="top" align="center"> <table width="719" cellpadding="0" cellspacing="0" border="1"> <!-- Main 2 --> <tr> <td> <table width="719" cellpadding="0" cellspacing="6" border="1"> <!-- Hoofdmenu --> <tr> <td height="70" colspan="2"><h4>Home</h4></td> <td rowspan="3" width="210" align="right"><img src="images/intra.gif"></td> </tr> <tr> <td align="right" valign="top"><img src="images/orange.gif"></td> <td align="left" valign="top"><a href="index.html">Home</a></td> </tr> <tr> <td align="right" valign="top"><img src="images/orange.gif"></td> <td align="left" valign="top"><a href="verzekeraar.php">Verzekeraars</a></td> </tr> </table> <!-- Sluiten Hoofdmenu --> </td> </tr> <tr> <td class="tussenlijn" background="images/bg.gif"> </td> </tr> <tr> <td height="100%"> <table width="719" cellpadding="0" cellspacing="0" border="1"> <!-- Teksten --> <tr> <td class="teksten"> <!-- Hier komen de teksten --> <p> tekst tekst </p> </td> <td class="side" align="right"> <!-- Dit is de grijze rechterkant van de website --> <table cellpadding="0" cellspacing="0" border="1"> <!-- Hier komt de tekst van de sidetabel --> <tr> <td class="sidetext" background="images/2_bg.gif"> <img src="images/line1.gif" align="top"> Hello world </td> </tr> </table> <!-- Sluiten tekst sidetabel --> </td> </tr> </table> <!-- Sluiten teksten --> </td> </tr> </table> <!-- Sluiten Main 2 --> </td> </tr> </table> <!-- Sluiten Main 1 --> </body> </html> |
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
| body {overflow: scroll; font-family:Tahoma, Arial; padding:0; margin:0; color:#6B6B6B} br{font-size:10px} .s{font-family:Tahoma, Arial; font-size:11px; color:#9A9A9A; text-decoration:none} .green{font-family:Tahoma, Arial; font-size:11px; color:#219E00;} .red{font-family:Tahoma, Arial; font-size:11px; color:#2C7F06;} .o{font-family:Tahoma, Arial; font-size:11px; color:#FFCC00;} .blue1{font-family:Tahoma, Arial; font-size:9px; color:#009AE1;} .w{font-family:Tahoma, Arial; font-size:11px; color:#FFFFFF; } .b{font-family:Tahoma, Arial; font-size:11px; color:#6B6B6B; text-decoration:none} .b1{font-family:Tahoma, Arial; font-size:12px; color:#000000; text-decoration:none} .b2{font-family:Tahoma, Arial; font-size:11px; color:#6B6B6B; } #green a:link {font-family:Tahoma; font-size:11px; font-weight: bold; color:#219E00; text-decoration:underline} #green a:visited {font-family:Tahoma; font-size:11px; font-weight: bold; color:#219E00; text-decoration:underline} #green a:active {font-family:Tahoma; font-size:11px; font-weight: bold; color:#219E00; text-decoration:underline} a:link {font-family:Tahoma, Arial; font-size:13px; color:#6B6B6B; text-decoration:none} a:visited {font-family:Tahoma, Arial; font-size:13px; color:#6B6B6B; text-decoration:none} a:active {font-family:Tahoma, Arial; font-size:13px; color:#6B6B6B; text-decoration:none} a:hover {font-family:Tahoma, Arial; font-size:13px; color:#6B6B6B; text-decoration:underline} #under a:link {font-family:Tahoma, Arial; font-size:11px; color:#6B6B6B; text-decoration:none} #under a:visited {font-family:Tahoma, Arial; font-size:11px; color:#6B6B6B; text-decoration:none} #under a:active {font-family:Tahoma, Arial; font-size:11px; color:#6B6B6B; text-decoration:none} #under a:hover {font-family:Tahoma, Arial; font-size:11px; color:#6B6B6B; text-decoration:underline} #adres {font-family:Tahoma, Arial; font-size:11px; color:#6B6B6B; text-align: right} #input{ width:160px; height:21px; } #input1{ width:134px; height:21px; } #textarea { width:102px; height:48px; border-width:1px; border-style:solid; border:none; background-color:#F0EAE3; overflow:auto } .form { font-size: 11px; } .form #green { font-family:Tahoma; font-size:11px; font-weight: bold; color:#219E00; } .teksten { padding-top: 10px; padding-left: 10px; width: 340px; font-family: Tahoma, Arial, sans-serif; font-size:11px; color:#6B6B6B; } .teksten #titel { color:#219E00; font-weight: bold; } .tussenlijn { height: 6px; } .side { width: 340px; vertical-align: top; padding-top: 20px; padding-left: 10px; } .sidetext { width: 310px; height: 310px; vertical-align: top; background-position: top left; background-repeat: no-repeat; } |
Weet iemand dit probleem op te lossen?
Ik hoop het...
Met dank!
Maarten