seltsamer Abstand
Andreas
- html
Hallo,
folgender Code:
<table>
...
<tr><td colspan="2" bgcolor="#6394BD" height="1"></td></tr>
<tr><td colspan="2" bgcolor="#ffffff" height="1"></td></tr>
</TABLE>
<form action="{ACTION}" method="post" name="poll">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="2" style="font-family: Verdana; font-size:12px;">
...
</table>
</td>
</tr>
</table>
</form>
Um die untere Tabelle ist seltsamerweise so eine Art Rand von ca. 5mm. Mache ich den Form-Tag in die erste Tabelle, so ist er weg, aber dann funktioniert was anderes in PHP nicht so wie ich es will.
Meine Frage ist, ist das mit dem Abstand normal und wie kann ich das ändern?
Gruß Andreas
hi Andreas
das liegt daran das <form> ein block-element ist.
wenn du dem <form> ein "display: inline;" (CSS) mitgibst, verschwindet der "rahmen".
ausführliche informationen zu allem oben gannten finden sich in selfhtml und im archiv.
so long
ole
(8-)>
Hallo,
danke für die Info.
hat super funktioniert.
Gruß Andreas