Je veux allign bloc div dans ce Maner:colonne Allign de blocs DIV de côté d'un autre bloc DIV
+-----+------+ |first|second| | | | + +------+ | |third | | | | +-----+------+
Mais le code suivant il allign d'une autre manière:
<html>
<head>
<style>
.common
{
border: 1px solid black;
float: left;
}
#first
{
background: red;
height: 100px;
width: 50px;
}
#second
{
background: green;
height: 50px;
width: 50px;
}
#third
{
background: yellow;
height: 50px;
width: 50px;
}
</style>
</head>
<body>
<div class="common" id="first">first</div>
<div class="common" id="second">second</div>
<div class="common" id="third">third</div>
</body>
</html>
Je n'utiliserai pas le positionnement absolu.
Existe-t-il un autre moyen de le faire?
Merci pour votre intérêt.