Ver Mensaje Individual
  #6 (permalink)  
Antiguo 13/02/2011, 12:38
Avatar de sanxuan
sanxuan
 
Fecha de Ingreso: enero-2011
Ubicación: Gijón
Mensajes: 671
Antigüedad: 13 años, 3 meses
Puntos: 36
Respuesta: div que se ubique al final

Comprueba si te puede servir algo así.
No estoy seguro de que sea lo que estabas buscando.

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <title>Admin. Jcweb </title>
  4. <style type="text/css">
  5. html{
  6.     height:100%
  7. }
  8. body{
  9.     background:black;
  10.     font-family:martina;
  11.     color:white;
  12.     font-size:20px;
  13.     height:100%;
  14.     margin:0;
  15. }
  16. #contenedor{
  17.    height:100%;
  18.    background: #456;
  19.    min-height: 340px; /* alto mínimo para que el pie no suba por encima del formulario */
  20. }
  21. #formulario{
  22.    position:relative;
  23.    width:500px;
  24.    top:40px;
  25.    border:1px solid #fff;
  26.    -moz-border-radius: 29px;
  27.    margin: 0 auto 82px; /* la altura del pie + 40px de la propiedad top */
  28.    text-align:center;
  29. }
  30. #footer1 {
  31.     background-image: url('css/photo/footer1.jpg');
  32.     background-color: #345;
  33.     width: 980px;
  34.     height: 42px;
  35.     font-weight: bold;
  36.     font-size: medium;
  37.     -moz-border-radius: 20px 20px 0 0;
  38.     bottom:0px;
  39.     margin:-42px auto 0;
  40. }
  41. #tabla{
  42.     margin:0 auto;
  43.     width: 360px;
  44.     border: 0;
  45. }
  46. </head>
  47. <div id="contenedor">
  48. <div id="formulario">
  49. <form action="#" method="POST">
  50. <table id="tabla">
  51.   <tr>
  52.     <td width="350" height="96" colspan="2"><img src="/jcweb/css/photo/admin.jpg" width="350" height="110" alt="admin" /></td>
  53.   </tr>
  54.   <tr>
  55.     <td height="20" width="70">Usuario:</td>
  56.     <td><input type="text" name="usuario"></td>
  57.   </tr>
  58.   <tr>
  59.     <td height="20">Contraseña:</td>
  60.     <td><input type="text" name="contrasena"></td>
  61.   </tr>
  62.   <tr>
  63.     <td height="81"><input type="submit" value="Enviar"></td>
  64.     <td><input type="reset" value="Borrar"></td>
  65.   </tr>
  66. </form>
  67. </div>
  68. </div>
  69. <div id="footer1">
  70. </div> 
  71. </body>
  72. </html>