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
|
<html>
<head>
<title></title>
<style type="text/css">
<!--
body {
margin: 0;
margin-top:10px;
padding: 0;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 0.8em;
background-color: #fff;
}
#conteneur, #conteneur2 {
width: 500px;
margin-left: auto;
margin-right: auto;
background-color: #99C00C;
height:100px;
}
#header {
position:relative;
top:50px;
left:100px;
width:50px;
height:50px;
background-color: #99CCCC;
}
#header2{
position:absolute;
top:50px;
left:100px;
width:50px;
height:50px;
background-color: #0000FF;
//-->
</style>
</head>
<body>
<div id="conteneur">
<div id="header">
</div>
</div>
<br><br><br>
<div id="conteneur2">
<div id="header2">
</div>
</div>
</body>
</html> |
Partager