Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/05/2010, 08:24
Avatar de RIVERMILLOS
RIVERMILLOS
 
Fecha de Ingreso: marzo-2010
Mensajes: 1.336
Antigüedad: 14 años, 1 mes
Puntos: 15
ayuda con darle tamaño a un div por %

hola quiciera saber porque no me toma las propiedad height este es el html



Código:
<?php
session_start();
if($_SESSION['valida']!="ok")
{header("Location: Login.php");
}require_once '../Logic/gallery.php';
$folder=$_SESSION['nombre_login'];
$camaras=$_SESSION['camaras'];

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>
<title>Tracker de Colombia</title>
<link rel="stylesheet" type="text/css" id="hojaestilo" href="estilo/1280mf.css"/>
<script src="jqlib/jquery.js" type="text/javascript" />
<script type="text/javascript" >
if($.browser.msie){
alert("Esta pagina esta diseñada para visualizarce en Mozilla Firefox");
}
</script> 
</head>


<body>
<div id="contenedor">
</div>
</body>
</html>

y este es el css

Código:
#contenedor{


width:50%;
height:50%;


}


pero solo me toma el width osea me sale 50% de ancho pero de alto no me toma los 50%..

saludos