Ik heb hem voor je aangepast!
<table border="1">
<tr>
<td colspan="7">april 2005</td>
</tr>
<tr>
<td>Zo</td>
<td>Ma</td>
<td>Di</td>
<td>Wo</td>
<td>Do</td>
<td>Vrij</td>
<td>Za</td>
</tr>
<tr>
<td><span style="color:#FF0000;">27</span></td>
<td><span style="color:#FF0000;">28</span></td>
<td><span style="color:#FF0000;">29</span></td>
<td><span style="color:#FF0000;">30</span></td>
<td><span style="color:#FF0000;">31</span></td>
<td><span style="color:#000000;">1</span>
<td>2
</tr>
<tr>
<td><span style="color:#000000;">3</span>
<td>4
<td><span style="color:#000000;">5</span>
<td>6
<td><span style="color:#000000;">7</span>
<td>8
<td><span style="color:#000000;">9</span>
</tr>
<tr>
<td><span style="color:#000000;">10</span>
<td>11
<td><span style="color:#000000;">12</span>
<td>13
<td><span style="color:#000000;">14</span>
<td>15
<td><span style="color:#000000;">16</span>
</tr>
<tr>
<td><span style="color:#000000;">17</span>
<td>18
<td><span style="color:#000000;">19</span>
<td>20
<td><span style="color:#000000;">21</span>
<td>22
<td><span style="color:#000000;">23</span>
</tr>
<tr>
<td><span style="color:#000000;">24</span>
<td>25
<td><span style="color:#000000;">26</span>
<td>27
<td><span style="color:#000000;">28</span>
<td>29
<td><span style="color:#000000;">30</span>
</tr>
<tr>
<td colspan="7">© Mitch Vroege 2005</td>
</tr>
</table>
Als je nu ook nog verteld wat verkeerd was?
Het is natuurlijk een PHP output ;)
Edit: Wtf? Heb je wel 'n beetje op de correctheid gelet? ;)
Alle </td>'s weghalen telt niet, maar werkt wel :|
hehe, je wilde toch dat het werkte ;)
Niet de netheid!
EDIT: Ik gebruikte een WISYWIK editor en zag dat er allemaal lege tabellen tussen zaten, die heb ik weggehaald en TATA!!!
;)
<tr>
<td><span style="color:#000000;">3</span></td>
<td></td>
<td><span style="color:#000000;">4</span></td>
<td></td>
<td><span style="color:#000000;">5</span></td>
<td></td>
<td><span style="color:#000000;">6</span></td>
<td></td>
<td><span style="color:#000000;">7</span></td>
<td></td>
<td><span style="color:#000000;">8</span></td>
<td></td>
<td><span style="color:#000000;">9</span></td>
<td></td>
</tr>
Dat is derde rij, zie je de fouten??
Nee?
Maar ik had <td> ipv </td> zie ik nu, hij is nu wel ok :)
Nee, dat was het niet ;)
echo '<td><span style="color:#000000;">' . date( 'j', mktime( 0, 0, 0, $iMonth, $j, $iYear ) ) . '</span><td>';
Dat was m'n probleem, was me niet opgevallen :O
Kreeg je dus <td>Blaat<td><td>Blaat<td>
Hehe, na vaak <td></td><td></td><td></td><td></td> moet het ook een keer fout gaan.
?
Onbekende gebruiker
19-04-2005 20:18
Wanneer je problemen hebt met de html-output, kun je dit snel achterhalen door e.e.a. te laten valideren op
http://validator.w3.org/
Succes