Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title></title>
<style type="text/css">
<!--
.wrapper {
width: 500px;
height: 551px;
background: url(http://www.tutorials.de/forum/attachments/html/26062d1158002569-hintergrund2.gif);
position: relative;
}
.leftCol {
position: absolute;
left: 15px;
top: 150px;
width: 120px;
height: 380px;
}
.content {
position: absolute;
left: 140px;
top: 150px;
width: 345px;
height: 380px;
overflow: auto;
}
.content p {
margin: 0;
padding: 0 5px 5px 5px;
}
-->
</style>
</head>
<body>
<div class="wrapper">
<div class="leftCol">leftCol</div>
<div class="content">
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
<p>content</p>
</div>
</div>
</body>
</html>
<?php
if (($_GET['section'] == "") OR ($_GET['section'] == "index"))
{ include "news.php"; }
?>
Also ich sehe im oben stehenden Qelltext keinen Frame. Wo soll der sein?David Flögel hat gesagt.:... aber da wäre dann ja ein Frame drin, was ich allerdings nicht wollte/will...
Ja, es geht auch noch anders. Du müsstest dein Hintergrundbild in drei Teile zerlegen: Einen oberen (Header), einem mittleren (Content) und einen unteren Teil (Footer). Dein Layout legst du dann in drei untereinander liegenden Blöcken an, von denen jeder das entsprechende Teilbild als Hintergrund erhält.David Flögel hat gesagt.:Geht es denn auch noch anders?
Also, das der untere Rand immer mitwandert?
Ja, es geht auch noch anders. Du müsstest dein Hintergrundbild in drei Teile zerlegen: Einen oberen (Header), einem mittleren (Content) und einen unteren Teil (Footer). Dein Layout legst du dann in drei untereinander liegenden Blöcken an, von denen jeder das entsprechende Teilbild als Hintergrund erhält.
.wrapper {
width: 590px;
}
.head {
height: 150px;
background: url(...);
}
.content {
background: url(...) repeat-y; /* Hintergrundgrafik in der Vertikalen wiederholen */
}
.foot {
height: 20px;
background: url(...);
}
<div class="wrapper">
<div class="head"></div>
<div class="content"></div>
<div class="foot"></div>
</div>