Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/04/2010, 20:34
Avatar de deirdre
deirdre
 
Fecha de Ingreso: mayo-2009
Mensajes: 690
Antigüedad: 14 años, 11 meses
Puntos: 45
Respuesta: Se puede hacer en css que una pagina sea igual que un Din A4

Hola corretodo

Mira si esto te vale:

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" />
<title>Tamaño DIN A4</title>
<style type="text/css">
html, body {
	margin: 0; 
	padding: 0; 
	overflow: auto;
}
body { 
    background: #f2f2f2; 
    font-family: Arial; 
    font-size: 13px; 
    line-height: 1.6; 
    color: #444; 
} 
#dina4 {
    width: 210mm;
    height: 297mm;
    padding: 20px 60px; 
    border: 1px solid #D2D2D2; 
    background: #fff;
    margin: 10px auto;
}
</style>
</head>

<body>
<div id="dina4">Tamaño de este contenedor: 210mm x 297mm (Din A4)</div>
</body>

</html> 
Saludos