- I need to make a three columns css layout (without setting the height and width).
- The left and right div height need to set automatically according to the center div (center div height depends on its content)
I tried with position, height 100%, overflow, but something wrong, so I cleared my code and so for now here I'm standing:
.container {
background-color: blue;
overflow: hidden;
}
.left {
background-color: green;
float: left;
}
.right {
background-color: yellow;
float: left;
}
.center {
background-color: red;
float: left;
}
<div class="container">
<div class="left"> < left</div>
<div class="center">
<p>Holisticly underwhelm process-centric architectures via functionalized quality vectors. Collaboratively transform turnkey total linkage rather than value-added technologies.</p>
<p>Holisticly underwhelm process-centric architectures via functionalized quality vectors. Collaboratively transform turnkey total linkage rather than value-added technologies.</p>
</div>
<div class="right">right > </div>
</div>
thank you