I have a map below a div
. My problem is that when I add altura 100%
, it takes the value of body
, lower than primeira div
, scroll
.
Example: jsfiddle
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Directly accessing Street View data</title>
<style>
html, body {
height: 100%;
margin: 0;
padding: 0;
}
.conteudo{width: 100%; height:100%;}
.um{width:100%; height:100px; background: red; float: left;}
.mapa{width: 100%; height:100%; float:left; background: green;}
</style>
</head>
<body>
<div class="conteudo">
<div class="um"></div>
<div class="mapa"></div>
<div>
</body>
</html>
How do I not get this Scroll, I want the two DIVs to be 100% relative to the window.