Click to See Complete Forum and Search --> : blank spaces


zuzupus
07-22-2003, 06:30 AM
hi,

anybody can tell me how i can reduce the white spaces aftrer all combos and buttons i mean to reduce width


<html>
<form>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="mybar">
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1 width=100% name="rsTable" id=rsTable cols=11>
<tr bgcolor="#cccccc">
<th>Datum</th>
<th>Von</th>
<th>Bis</th>
<th>Kunde</th>
<th>Projekt</th>
<th>H-Vorgang</th>
<th>U-Vorgang</th>
<th>Text</th>
<th>IST</th>
<th>Soll</th>
<th>Status</th>
<th>&nbsp;</th>
</tr>

//values for these headers
<tr>
<td nowrap align="center">
<input size="7" type="text" name="datum" >
<img src="../img/cal.gif" >
</td>
<td nowrap align="center">
<select name="von"></select>
<input type="button" value=">" >
</td>

<td nowrap align="center">
<select name="bis"> </select>
</td>

<td align="center">
<select name="projekt">

</select>
</td>
<td align="center">
<select name="hvorgang" >
</select>
</td>
<td align="center">
<select name="uvorgang">
</select>
</td>
<td align="center">
<textarea name="text" ></textarea>
<img src="../img/edit.gif" >
</td>
<td bgcolor="#cccccc" align="center">
<input size="1" type="text" >
</td>
<td bgcolor="#cccccc" align="center">
<input size="1" type="text" >
</td>
<td align="center">
<select name="status">
</select>
</td>
<td align="center">
<input type="button" value="S" >
</td>

</tr>

<tr bgcolor="#FACB84">
<td nowrap align="center"><?= $line["datum"] ?></td>
<td nowrap align="center"><?= $line["von"] ?></td>
<td nowrap align="center"><?= $line["bis"] ?></td>
<td nowrap align="center"><?= $line["kunde"] ?></td>
<td nowrap align="center"><?= $line["projekt"] ?></td>
<td nowrap align="center"><?= $line["hvorgang"] ?></td>
<td nowrap align="center"><?= $line["uvorgang"] ?></td>
<td align="center"><?echo $output;?></td>
<td nowrap align="center"><?= $line["ist"] ?></td>
<td nowrap align="center"><?= $line["soll"] ?></td>
<td nowrap align="center"><?= $line["status"] ?></td>
</tr>

</table>

</body>

</html>


thanks in advance

gil davis
07-22-2003, 06:41 AM
Try putting the </TD> on the same line as the </SELECT>.

zuzupus
07-22-2003, 06:48 AM
u mean to say like this

<td align="center">
<select name="hvorgang" >
//php code to get values form database
</select> </td>

please let me know

thanks

zuzupus
07-22-2003, 08:34 AM
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=0style="width : 250px;" name="rsTable" id=rsTable cols=11>
<col style="width : 125px;" />
<col style="width : 125px;" />
<input size="1" type="hidden" name="nr" value="<?= $pk ?>">
<td nowrap align="center">
<input size="7" type="text" name="datum" value="<?=$D?> <?= date("d.m.y") ?>">
<a href="javascript:show_calendar('tstest.datum');"><img src="../img/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the date"></a></td>

when i use like this first 2 fields alignment increases rest 9 cols looks perfect

anybody sort out the problem really be appreciable

PeOfEo
07-22-2003, 10:00 AM
can you give us a link so we can see whats happening with our own eyes maybe... after his code that is.

zuzupus
07-23-2003, 03:33 AM
sorry for late reply as i ws lil busy

this is the link http://server2.vitodesign.com/log.phtml
u can see also attached image