Comprueba si te puede servir algo así.
No estoy seguro de que sea lo que estabas buscando.
Código HTML:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> html{
height:100%
}
body{
background:black;
font-family:martina;
color:white;
font-size:20px;
height:100%;
margin:0;
}
#contenedor{
height:100%;
background: #456;
min-height: 340px; /* alto mínimo para que el pie no suba por encima del formulario */
}
#formulario{
position:relative;
width:500px;
top:40px;
border:1px solid #fff;
-moz-border-radius: 29px;
margin: 0 auto 82px; /* la altura del pie + 40px de la propiedad top */
text-align:center;
}
#footer1 {
background-image: url('css/photo/footer1.jpg');
background-color: #345;
width: 980px;
height: 42px;
font-weight: bold;
font-size: medium;
-moz-border-radius: 20px 20px 0 0;
bottom:0px;
margin:-42px auto 0;
}
#tabla{
margin:0 auto;
width: 360px;
border: 0;
}
<form action="#" method="POST"> <td width="350" height="96" colspan="2"><img src="/jcweb/css/photo/admin.jpg" width="350" height="110" alt="admin" /></td> <td height="20" width="70">Usuario:
</td> <td height="20">Contrase
ña:
</td> <td><input type="text" name="contrasena"></td> <td height="81"><input type="submit" value="Enviar"></td>