Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/09/2011, 10:57
snowmanchip
 
Fecha de Ingreso: agosto-2011
Ubicación: Viña del Mar, Chile
Mensajes: 311
Antigüedad: 12 años, 8 meses
Puntos: 50
Respuesta: Imprimir div tamaño absoluto

prueba así.....
Código HTML:
!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="all">
#cuadrado {
	width:5cm;height:5cm;border:solid;border-color:black;margin: 0 auto;
}
</style>
<title>test</title>
</head>
 
<body>
<div id="cuadrado">
<p>Contenido</p>

</div>
</body>
</html>