Warum geht meine Seite ins Bodenlose, obwohl ich mit dem Befehl height nur 79px festlege? [url=http://www.fotos-hochladen.net][img]http://img5.fotos-hochladen.net/uploads/fragey0giutkec6.png[/img][/url]
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<style>
#pageone, #pagetwo {
background-color: lightgrey;
width: 251px;
height: 79;
border: 1px solid green;
padding: 0px;
margin: 106px 0 0 27px;
overflow: hidden;
}
</style>
</head>
<body>
<div data-role="page" id="pageone">
<div data-role="header">
<h1>Welcome To My Homepage</h1>
<div data-role="navbar">
<ul>
<li><a href="#pageone">Home</a></li>
<li><a href="#pagetwo">Page Two</a></li>
<li><a href="#pagetwo">Search</a></li>
</ul>
</div>
</div>
<div data-role="main" class="ui-content" >
<p>My Content..</p>
</div>
<div data-role="footer">
<h1>My Footer</h1>
</div>
</div>
<div data-role="page" id="pagetwo">
<div data-role="header">
<h1>We</h1>
<div data-role="navbar">
<ul>
<li><a href="#pageone">Home</a></li>
<li><a href="#pagetwo">Page Two</a></li>
<li><a href="#pagetwo">Search</a></li>
</ul>
</div>
</div>
<div data-role="main" class="ui-content" >
<p>My.</p>
</div>
<div data-role="footer">
<h1>My Footer</h1>
</div>
</div>
</body>
</html>