1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
body, html{
height: 100%;
margin:0;
position:relative;
}
.container{
min-height:100%;
position:relative;
margin-bottom:-100px;
background: yellow;
}
#entete{
height:100px;
background-color: gray;
}
#centre{
width: 100%;
height:100%;
min-height:100%;
}
#navigation{
background: aqua;
width: 200px;
float: left;
margin:0;
top:100px;
bottom:100px;
position:absolute;
left:0;
}
#contenu{
background: yellow;
margin:0;
margin-left: 200px;
}
#pied{
height: 100px;
background-color:red;
position:absolute;
width:100%;
}
</style>
</head>
<body>
<div class="container">
<div id="entete">...</div>
<div id="centre">
<div id="navigation">...</div>
<div id="contenu">...</div>
</div>
</div>
<div id="pied">...</div>
</body>
</html> |
Partager