Spaltenbreite bleibt einfach ned konstant (HTML)
    
		
    
       semteX  13.03.2005 - 22:58  703  3 
    
		
		
  	
    
    	
      
    
    
    
			
  | semteX
      hasst die KI   | Bearbeitet von semteX am 13.03.2005, 23:26
         i verstehs ned.  die spaltenbreite verändert sich immer (minimal)... mich störts ziemlich :/ ie geht, ff zickt.http://www.sbg.at/zivi/zivis.php der php code: <?php
// Zip
if($_GET["a"]="show") {
		$zidi=$zivi->getzividetails($_GET["zivi"]);
		echo "<table border='0' class='backg2' cellpadding='1' cellspacing='1' width='400'>
		<tr>
			<td class='hb1' width='150'><div class='data'>Name:</div></td>
			<td width='250'><div class='text'>".$zidi[0]."</div></td>
		</tr>
		<tr>
			<td class='hb2' width='150'><div class='data'>Adresse:</div></td>
			<td width='250'><div class='text'>".$zidi[1]."</div></td>
		</tr>
		<tr>
			<td class='hb1' width='150'><div class='data'>Telnr:</div></td>
			<td width='250'><div class='text'>".$zidi[2]."</div></td>
		</tr>
		<tr>
			<td class='hb2' width='150'><div class='data'>Mail:</div></td>
			<td width='250'><div class='text'>".$zidi[3]."</div></td>
		</tr>
		</table>";
	} else {
		echo "<div class='text'>Oben einen Zivi auswählen</div>";
// Zip
?>
 HTML Source: <html>
<head>
<title>RK Zell am See Dienstabrechnung (c) by Zivi of the year!</title>
<link href='style.css' rel='stylesheet' type='text/css'>
</head>
<body><table border='0' width='400' cellpadding='1' cellspacing='1'>
<tr>
	<td><a href='/zivi/zivis.php?a=show&zivi=Test1'>Test1</a> - <a href='/zivi/zivis.php?a=show&zivi=Test2'>Test2</a> - <a href='/zivi/zivis.php?a=show&zivi=ZiviZiviZivi'>ZiviZiviZivi</a> - <a href='/zivi/zivis.php?a=show&zivi=kurzZivi'>kurzZivi</a> - </td>
</tr>
<tr>
	<td><table border='0' class='backg2' cellpadding='1' cellspacing='1' width='400'>
		<tr>
			<td class='hb1' width='150'><div class='data'>Name:</div></td>
			<td width='250'><div class='text'>ZiviZiviZivi</div></td>
		</tr>
		<tr>
			<td class='hb2' width='150'><div class='data'>Adresse:</div></td>
			<td width='250'><div class='text'>Zivikaff3, 3444 Zivihausen</div></td>
		</tr>
		<tr>
			<td class='hb1' width='150'><div class='data'>Telnr:</div></td>
			<td width='250'><div class='text'> 2333 45525555</div></td>
		</tr>
		<tr>
			<td class='hb2' width='150'><div class='data'>Mail:</div></td>
			<td width='250'><div class='text'>Zivi_zivi@gmx.at
</div></td>
		</tr>
		</table></td>
</tr>
</table><h3>Page rendered in 0.28 msecs</h3></body>
</html>
 mit was hängt das bitte zusammen? ich checks ned
     | 
  | gerhardtt
      Big d00d
 | 
         edit:blödsinn....... kann dir nicht helfen...
     | 
  | watchout
      Legendundead
         | 
         naja, klar das da was net funkt wenn du schonmal widersprüchliche breitenangaben gibst:
 150+250+3*1=400 (?)
 
 am einfachsten wirds wohl sein der 2. spalte keine breite zuzuweisen - oder der gesamten table...
 
 aber generell arbeitet man bei tables eher mit "th" - einmal definieren und fertig. da kann auch weniger schief gehen...
 | 
  | semteX
      hasst die KI   | 
         hm true der border kommt ja auch noch dazu. thx
     |