Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/12/2014, 22:19
quico5
 
Fecha de Ingreso: enero-2008
Mensajes: 580
Antigüedad: 16 años, 3 meses
Puntos: 9
Respuesta: overflow no se aplica

Parece que esta es la única forma ¿es un bug?

Código HTML:
body{
	background-color: silver;
	display: table;
	margin: 0;
	height: 100vh;
	width: 100%;
	>*{
		display: table-row;
	}
	main{
		height: 100%;
		width: 100%;
		>div{ /*anidación de LESS*/
			height: 100%;
			width: 100%;
			overflow: auto;
		}
	}
	header,footer{
		height: auto;
		width: auto;
	}
}
Código HTML:
<!DOCTYPE html>
<html lang="es">
<head>
	<meta charset="UTF-8"/>
	<title>Document</title>
	<link rel="stylesheet" href="style.css"/>
</head>
<body>
	<header>header</header>
	<main>
		<div>
			Texto<br>
			Texto<br>
		</div>
	</main>
	<footer>footer</footer>
</body>
</html>