Hier mal der generierte code meiner PHP seite, in dem mehrere inputs sind. In dem fall verändert sich der abstand der 2ten tabelle zur 1ten immer mehr, je mehr eingabe felder ich habe. Wenn ich keine eingabefelder habe, schliesst sich die 2te tabelle direkt an die erste tabelle an.
Gruss VOlker
<table vspace="6000" width='100%' border="1" cellpadding="0" cellspacing="2">
<colgroup><col width='60'><col width='60'><col width='60'><col width='60'><col width='60'></colgroup>
<tr >
<td align='center'><h2><a href="javascript:location.reload('xxx.php?usp=1')">ALL </a></td></h2>
<td align='center'><h2><a href="javascript:location.reload('xxx.php?usp=2')">NEW </a></td></h2>
<td align='center'><h2><a href="javascript:location.reload('xxx.php?usp=3')">OPEN </a></td></h2>
<td align='center'><h2><a href="javascript:location.reload('xxx.php?usp=4')">CLOSED </a></td></h2>
<td align='center'><h2><a href="javascript:location.reload('xxx.php?usp=5')">>1 Monat </a></td></h2>
</tr>
</table>
<hr noshade width="100%" size="3" align="left">
<table border='1' width='100%' bgcolor='ccffff' cellspacing='0' cellpadding='0' top-margin:1000px>
<colgroup><col width='50'><col width='90'><col width='70'><col width='480'>
<col width='100'><col width='100'><col width='80'><col width='70px'></colgroup>
<th align='center'><a href='http://xxxxxx.php?usp=3&sort=1&head=1' style='text-decoration:none'>Number</a></th>
<th align='center'><a href='http://xxxxxx.php?usp=3&sort=1&head=2' style='text-decoration:none'>Datum</a></th>
<th align='center'>Zeit</th>
<th align='center'><a href='http://xxxxxx.php?usp=3&sort=1&head=3' style='text-decoration:none'>Job</a></th>
<th align='center'><a href='http://xxxxxx.php?usp=3&sort=1&head=4' style='text-decoration:none'>Incident Nr</a></th>
<th align='center'>Status</th>
<th align='center'>Editor</th>
<th>upd</th>
<form style='display:inline' action='updateDB.php' method='get'>
<tr height='3'>
<td align='center' onClick='incidentNr(109, 3, 1, 4)'>109</td>
<td align='center'>05.01.2010</td>
<td align='center'>22:12:08</td>
<td align='center'>xxxxxxx</td>
<td align='center'><input name='link' type='text' size='7'></td>
<input type='hidden' name='user' value='xxxxxx'>
<input type='hidden' name='row' value='109'>
<input type='hidden' name='button' value='A'>
<input type='hidden' name='type' value='3'>
<input type='hidden' name='sort' value='1'>
<input type='hidden' name='head' value='4'>
<td align='center'> </td>
<td align='center'>mmmm V. </td>
<td align='center'> <input type='image' name='ok' value='X' src='../pics/ok.gif'>
<input type='submit' name='button' value='X'>
<input type='submit' name='button' value='0'></td>
</tr>
</form>
<form style='display:inline' action='updateDB.php' method='get'>
<tr height='3'>
<td align='center' onClick='incidentNr(110, 3, 1, 4)'>110</td>
<td align='center'>05.01.2010</td>
<td align='center'>22:12:08</td>
<td align='center'>xxxxxxxxx</td>
<td align='center'><input name='link' type='text' size='7'></td>
<input type='hidden' name='user' value='xxxxxx'>
<input type='hidden' name='row' value='110'>
<input type='hidden' name='button' value='A'>
<input type='hidden' name='type' value='3'>
<input type='hidden' name='sort' value='1'>
<input type='hidden' name='head' value='4'>
<td align='center'> </td>
<td align='center'>mmmmmV. </td>
<td align='center'> <input type='image' name='ok' value='X' src='../pics/ok.gif'>
<input type='submit' name='button' value='X'>
<input type='submit' name='button' value='0'></td>
</tr>
</form>
<form style='display:inline' action='updateDB.php' method='get'>
<tr height='3'>
<td align='center' onClick='incidentNr(114, 3, 1, 4)'>114</td>
<td align='center'>06.01.2010</td>
<td align='center'>05:22:32</td>
<td align='center'>xxxxxxxxx</td>
<td align='center'><input name='link' type='text' size='7'></td>
<input type='hidden' name='user' value='xxxxxx'>
<input type='hidden' name='row' value='114'>
<input type='hidden' name='button' value='A'>
<input type='hidden' name='type' value='3'>
<input type='hidden' name='sort' value='1'>
<input type='hidden' name='head' value='4'>
<td align='center'> </td>
<td align='center'>mmmm V. </td>
<td align='center'> <input type='image' name='ok' value='X' src='../pics/ok.gif'>
<input type='submit' name='button' value='X'>
<input type='submit' name='button' value='0'></td>
</tr>
</form>
</table>
sorry, hier die links zu den bildern:
gross
normal
Hier mal die bildliche darstellung meines problems
[URL=http://img444.imageshack.us/i/42992167.jpg/][IMG]http://img444.imageshack.us/img444/7884/42992167.jpg[/IMG][/URL]
[URL=http://img444.imageshack.us/i/25517155.jpg/][IMG]http://img444.imageshack.us/img444/5895/25517155.jpg[/IMG][/URL]