Hallo Leute,
ich habe ein kleines Problem mit einem ungewollten Abstand zwischen einer Grafik (Boxheader) und dem Inhalt der Box. Diesen Spalt bekomme ich einfach nicht weg. Vielleicht kann mir hierbei ja jemand helfen.
Hier mal die entsprechenden Codes:
#content {
width: 1024px;
border: 0px;
text-align: left;
position: static;
z-index: 1;
}
#con_l {
float: left;
width: 200px;
text-align: left;
}
#con_m {
float: left;
width: 624px;
text-align: left;
}
#con_r {
float: left;
width: 200px;
text-align: left;
}
#box_gruen {
float: left;
width: 189px;
top: 0px
border-left: 1px solid #8F9A4E;
border-bottom: 1px solid #8F9A4E;
border-right: 1px solid #8F9A4E;
color: #000000;
background-color: #A7C118;
font-size: 10px;
text-align: left;
position: relative;
vertical-align: top;
}
HTML:
<div id="content">
<div id="con_l">
<img src='images/nav_login.jpg' height='35' width='190' />
<div id='box_gruen'>
<form name='login' action='index.php?action=login&nav=startseite' method='post'>
<br /> Benutzername<br /> <input name='benutzername' type='text' size='25' /><br />
Kennwort<br /> <input name='kennwort' type='password' size='25' /><br />
<br /> <input name='einloggen' type='submit' value='Einloggen' /><br /><br /></td>
</form></div>";
</div>
</div>