1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
<!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>Document sans nom</title>
<style type='text/css'>
#organigramme { position: relative; background-color: #ccc; height: 400px; }
#organigramme .ligne, #organigramme .boite { position: absolute; }
#organigramme .ligne { background-color: black; overflow: hidden; }
#organigramme .boite { border: 1px solid black; text-indent: 4px; }
</style>
</head>
<body>
<div id='organigramme'>
<div class='ligne' style='top: 0px; left: 100px; width: 1px; height: 20px;'></div>
<div class='boite' style='top: 20px; left: 50px; width: 150px; height: 20px;'>Contenu</div>
<div class='ligne' style='top: 30px; left: 201px; width: 200px; height: 1px;'></div>
</div>
</body>
</html> |