I have a parent container with two child divs inside; one div is floated to the left and the other is floated to the right.
Here is my current layout:
┌─────────────┬─────────────┐
│ Text left │ Text right │
│ Text left │─────────────┘
│ Text left │
│ Text left │
└─────────────┘
However, I want the layout to be like this:
┌─────────────┬─────────────┐
│ Text left │ │
│ Text left │ │
│ Text left │ │
│ Text left │ Text right │
└─────────────┴─────────────┘
Here is my HTML code:
<div style="position:absolute">
<div style="float:left">
Text left
Text left
Text left
Text left
</div>
<div style="float:right;">
Text right
</div>
</div>
I want the Text right
content to be displayed at the bottom of the right div. How can I achieve this layout?