Bekijk de onderstaande video om te zien hoe je onze site als een web app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
<!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>***</title>
<style type="text/css">
<!--
.titel {
height: 10%;
position: absolute;
width: 99%;
text-align: center;
top: 0px;
}
.onderkant {
height: 6%;
position: absolute;
text-align: center;
width: 99%;
bottom: 0px;
}
.tekst {
margin-top: -128px;
margin-left: 25%;
width: 75%;
height: 600px;
margin-bottom: 7%;
}
.menu {
margin-left: 10%;
height: 128px;
width: 132px;
margin-top: 8%;
position: static;
}
.menu li a {
height: 32px;
height: 24px;
text-decoration: none;
}
.menu li a:link, .menu li a:visited {
color: #000000;
display: block;
background: url(menu.gif);
padding: 8px 0 0 35px;
}
.menu li a:hover {
color: #fff;
background: url(menu.gif) 0 -32px;
padding: 8px 0 0 35px;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
-->
</style>
</head>
<body>
<div class="titel" id="titel"><img src="titel.jpg" width="80%" height="100%"/></div>
<div class="menu">
<ul>
<li><a href="index.php" >Home</a></li>
<li><a href="index.php" >Wie ben ik</a></li>
<li><a href="index.php" >Foto's</a></li>
<li><a href="contact.php" >Contact</a></li>
</ul>
</div>
<div class="tekst">
<p>Op dit moment ben ik druk bezig mijn website te bouwen.</p>
<p>Mijn excuus voor het ongemak.</p>
</div>
<div class="onderkant" id="onderkant"><img src="onderkant.jpg" width="80%" height="100%"/></div>
</body>
</html>
Hallo,
.......
Los van de fouten die de validator geeft dus even de volgende vragen:
Moet de footer onderaan het scherm staan?
Moet het menu 'n kolom worden of gewoon 'n vierkant blokje zoals nu?
Hoe hoog moet de footer zijn?
Hoe hoog moet het menu zijn?
........
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" lang="nl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>***</title>
<style type="text/css">
html {
margin: 0;
padding: 0;
height: 100%;
}
body {
margin: 0;
padding: 0;
height: 100%;
}
#titel {
height: 60px;
text-align: center;
background: yellow;
}
#container {
position: relative;
min-height: 100%;
}
#content {
padding-bottom: 60px;
}
.menu {
margin-left: 140px;
height: 128px;
width: 132px;
margin-top: 90px;
background: green;}
ul {
list-style: none;
margin: 0;
padding: 0;
}
.menu li a {
height: 24px;
text-decoration: none;
}
.menu li a:link, .menu li a:visited {
color: #000000;
display: block;
background: url(menu.gif);
padding: 8px 0 0 35px;
}
.menu li a:hover {
color: #fff;
background: url(menu.gif) 0 -32px;
padding: 8px 0 0 35px;
}
.tekst {
margin-top: -128px;
margin-left: 320px;
height: 400px;
text-align: center;
background: orange;
}
#onderkant {
position: absolute;
bottom: 0;
width: 100%;
height: 60px;
background: #0ff;
text-align: center;
line-height: 0;
}
</style>
</head>
<body>
<div id="container">
<div class="titel" id="titel"><img src="titel.jpg" width="80%" height="50" alt="" /></div>
<div id="content">
<div class="menu">
<ul>
<li><a href="index.php" >Home</a></li>
<li><a href="index.php" >Wie ben ik</a></li>
<li><a href="index.php" >Foto's</a></li>
<li><a href="contact.php" >Contact</a></li>
</ul>
</div>
<div class="tekst">
<p>Op dit moment ben ik druk bezig mijn website te bouwen.</p>
<p>Mijn excuus voor het ongemak.</p>
</div>
</div>
<div id="onderkant"><img src="onderkant.jpg" width="80%" height="50" alt="" /></div>
</div>
</body>
</html>
Mooi! En als je nog tegen problemen aanloopt, horen we 't wel.
Ik heb een klein probleempje,
Mijn footer blijft nu in het scherm hangen, en gaat niet mee naar beneden.....
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.