Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/06/2008, 00:34
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Respuesta: Div con medidas especiales - Solo para sabios



Pues sabio no soy, pero tampoco parece que sea muy complicado:

Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="es-es">
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
<title>S</title>
<style type="text/css">
#contenedor { max-width: 800px;
min-width: 700px;
height: 400px;
margin: 20px auto;
}
#uno { width: 200px;
height: 400px;
background-color: #366;
float: right;
}
#dos { background-color: #399;
height: 400px;
}
</style>
</head>
<body>
<div id="contenedor">
<div id="uno"></div>
<div id="dos"></div>
</div>
</body>
</html>
Si quieres que el max y el min funcionen en IE6 hay que hacer una filigrana.

Mikel.