Div horizontal aligning, one fixed, one adaptive
- by Dorian McHensie
Hello everyone.
I would like to create a vertical splitted site structure using two divs:
My intention is to have d2 next to d1 in a horizontal align structure (same line).
What i get is not this.
In fact using that code, d2 does not take the remaining space, but collapses to the min width.
if I use
WRONG because d2 goes down and takes all the space (but both divs are in different lines).
HOW TO REACH MY OBJECTIVE? Is there a design pattern for this problem????
Thanks.