Nieuw lid |
|
test.php
<!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=iso-8859-1" />
<title>Untitled Document</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="midden">
<div class="logo"></div>
<div class="links"> Home | Nieuws | Informatie | Forum | Foto's </div>
</div>
</body>
</html>
<!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=iso-8859-1" /> <title>Untitled Document</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="midden"> <div class="logo"></div> <div class="links"> Home | Nieuws | Informatie | Forum | Foto's </div> </div> </body> </html>
style.css
body {
font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
font-size: 10pt;
background-color: #EFF3FC;
}
div.midden {
width: 990px;
height: 100%;
margin: auto;
}
div.logo {
position:relative;
width: 990px;
height: 175px;
background-image: url(img/logo.jpg);
margin: 0px;
}
div.links {
position: relative;
width: 990px;
height: 20px;
background-color: #CCCCCC;
text-align: center;
}
body { font-family: Trebuchet MS, Arial, Helvetica, sans-serif; font-size: 10pt; background-color: #EFF3FC; } div.midden { width: 990px; height: 100%; margin: auto; } div.logo { position:relative; width: 990px; height: 175px; background-image: url(img/logo.jpg); margin: 0px; } div.links { position: relative; width: 990px; height: 20px; background-color: #CCCCCC; text-align: center; }
output: www.meputrecht.nl/test.php
Probleem: Ik wil dat de site direct tegen de bovenkant aan staat, maar nu zit er nog zo'n 15 px witruimte tussen.
|