Als je hier kijkt:
http://www.clan-league.com/index.php?w=Statistics
zie je een niet zo mooi uitgelijnde tabel. (zie de grafiek)
Je ziet dat ik wat 'allign's en 'vallign's heb gebruikt, maar het wil niet werken.... waar ligt het aan dat mijn tabel niet mooi is uitgelijnt/d
http://www.clan-league.com/index.php?w=Statistics
zie je een niet zo mooi uitgelijnde tabel. (zie de grafiek)
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
26
| for ($i = 1; $i <= $month; $i++) {
$arr = $t[$i];
$arr2 = $l[$i];
if ($arr != 0) {
$themax_98 = $arr / $themax * 100;
$themax_97 = $arr2 / $themax * 100;
$left = 100 - $themax_97;
?>
<table height="100" width="12" border="0" cellpadding="0" cellspacing="0" align="left" valign="bottom">
<tr>
<td height="<?= $left ?>" width="12" valign="bottom">[img]"gfx/balkje.gif"[/img]"></td>
</tr>
<tr>
<td height="<?= $themax_97 ?>" width="12" valign="bottom">[img]"gfx/balkje2.gif"[/img]"></td>
</tr>
</table>
<? } else { ?>
<table height="100" width="12" border="0" cellpadding="0" cellspacing="0" align="left">
<tr>
<td height="100" width="12" valign="bottom">
[img]"gfx/balkje.gif"[/img]
</td>
</tr>
</table>
<? }
} |
Je ziet dat ik wat 'allign's en 'vallign's heb gebruikt, maar het wil niet werken.... waar ligt het aan dat mijn tabel niet mooi is uitgelijnt/d
[ Voor 28% gewijzigd door Cheater op 03-01-2003 01:23 ]
