BassmaniaQ
Gebruiker
- Lid geworden
- 25 nov 2005
- Berichten
- 15
Hallo,
Ik zit met mijn handen in het haar, want ik krijg het niet voor elkaar.
Ik heb een tabel met gegevens. Door de Div om de 2e tabel komt er een scollbalk als er teveel gegevens voor het scherm zijn. Het probleem is nu dat de velden van de eerste tabel en de 2e niet recht onder elkaar staan en dus verschuiven door de scrollbalk.
Ik weet niet hoe ik dit moet oplossen omdat de width dus wel in procenten moet wordebn uitgedrukt. Ik hoop dat iemand hier een oplossing voor heeft.
Alvast heel erg bedankt!!!
Maurice
Hieronder de code:
<table border="1" width="100%">
<tr>
<td class="toprow" width="8%">Vrachtnr.</td>
<td class="toprow" width="7%">Datum</td>
<td class="toprow" width="20%">Naam</td>
<td class="toprow" width="6%">Postc.</td>
<td class="toprow" width="5%">Huisnr.</td>
<td class="toprow" width="12%">Woonplaats</td>
<td class="toprow" width="6%">Gewicht</td>
<td class="toprow" width="4%">Colli</td>
<td class="toprow" width="5%">Pallets</td>
<td class="toprow" width="7%">Rembours</td>
<td class="toprow" width="13%">Status</td>
<td class="toprow" width="7%">Klantnr.</td>
</tr>
</table>
<div style="overflow: auto; height: 96%; width: 100%;">
<table border="1" width="100%">
<tr>
<td class="lowrow" width="8%">gegevens</td>
<td class="lowrow" width="7%">gegevens</td>
<td class="lowrow" width="20%">gegevens</td>
<td class="lowrow" width="6%">gegevens</td>
<td class="lowrow" width="5%">gegevens</td>
<td class="lowrow" width="12%">gegevens</td>
<td class="lowrow" width="6%">gegevens</td>
<td class="lowrow" width="4%">gegevens</td>
<td class="lowrow" width="5%">gegevens</td>
<td class="lowrow" width="7%">gegevens</td>
<td class="lowrow" width="13%">gegevens</td>
<td class="lowrow" width="7%">gegevens</td>
</tr>
</table>
</div>
Ik zit met mijn handen in het haar, want ik krijg het niet voor elkaar.
Ik heb een tabel met gegevens. Door de Div om de 2e tabel komt er een scollbalk als er teveel gegevens voor het scherm zijn. Het probleem is nu dat de velden van de eerste tabel en de 2e niet recht onder elkaar staan en dus verschuiven door de scrollbalk.
Ik weet niet hoe ik dit moet oplossen omdat de width dus wel in procenten moet wordebn uitgedrukt. Ik hoop dat iemand hier een oplossing voor heeft.
Alvast heel erg bedankt!!!
Maurice
Hieronder de code:
<table border="1" width="100%">
<tr>
<td class="toprow" width="8%">Vrachtnr.</td>
<td class="toprow" width="7%">Datum</td>
<td class="toprow" width="20%">Naam</td>
<td class="toprow" width="6%">Postc.</td>
<td class="toprow" width="5%">Huisnr.</td>
<td class="toprow" width="12%">Woonplaats</td>
<td class="toprow" width="6%">Gewicht</td>
<td class="toprow" width="4%">Colli</td>
<td class="toprow" width="5%">Pallets</td>
<td class="toprow" width="7%">Rembours</td>
<td class="toprow" width="13%">Status</td>
<td class="toprow" width="7%">Klantnr.</td>
</tr>
</table>
<div style="overflow: auto; height: 96%; width: 100%;">
<table border="1" width="100%">
<tr>
<td class="lowrow" width="8%">gegevens</td>
<td class="lowrow" width="7%">gegevens</td>
<td class="lowrow" width="20%">gegevens</td>
<td class="lowrow" width="6%">gegevens</td>
<td class="lowrow" width="5%">gegevens</td>
<td class="lowrow" width="12%">gegevens</td>
<td class="lowrow" width="6%">gegevens</td>
<td class="lowrow" width="4%">gegevens</td>
<td class="lowrow" width="5%">gegevens</td>
<td class="lowrow" width="7%">gegevens</td>
<td class="lowrow" width="13%">gegevens</td>
<td class="lowrow" width="7%">gegevens</td>
</tr>
</table>
</div>