Ich möchte gerne, dass der Formular Button genau auf der Leiste, siehe Anhang dargestellt wird, leider brauche ich dafür bei Opera "-7px", bei Firefox "-8px" und im IE 6 "-10px"... wie kann ich dies ändern und vereinheitlichen? Worum wird dies so unterschiedlich dargestellt?
HTML:
<div id='login'>
<form method='post' action=''>
<input type='text' name='username' value='Username' class='input' />
<input type='password' name='password' value='Passwort' class='input' />
<input type='submit' name='senden' value='' id='submit_login'>
</form>
</div>
Code:
#login
{
margin: 0px;
padding: 0px;
background: white url(nav_line.jpg) top left repeat-x;
position: absolute;
top: 100px;
left: 15px;
width: 690px;
}
#login form
{
margin-left: 8px;
}
.input
{
margin: 0px;
margin-top: 10px;
padding: 1 0 1 0px;
border: 1px;
border-style: solid;
border-color: black;
width: 100px;
font-size: 90%;
}
#submit_login
{
position: relative;
top: -8px;
background: url(login.jpg);
width: 44px;
height: 19px;
border: 0px;
margin: 0px;
padding: 0px;
}
#submit_login:hover
{
background: url(login_hover.jpg);
}
Anhänge
Zuletzt bearbeitet von einem Moderator:
([code] zu [HTML])