Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/01/2007, 16:54
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 7 meses
Puntos: 280
Re: Se puede esto con un div ?

Se puede, y además de forma sencillísima:

Código:
<!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">
<head>
  <title>Con CSS</title>
  <style type="text/css">
  #superior, #inferior { height: 80px;
    background-color: rgb(255, 255, 0);
    font-size: 9px;
    }
  #central { background-color: rgb(51, 51, 255);
    }
  </style>
</head>
<body style="margin: 0pt;">
<div id="superior">
SUPERIOR
<input value="arriba" type="text" /></div>
<div id="central">
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
central<br />
</div>
<div id="inferior">
INFERIOR
<input value="abajo" type="text" /></div>
</body>
</html>
Mikel.