I try to generate a 2 column layout with different items.
If there are not enough items in this columns, I want them to have a min height.
The float column-top and column-bottm seem not to work as intended when the min height is right before the div with the columns.
The result is the attached pdf file. The floating column floats to the right column
If i change the html like this, the float is correct but the min-height wont work.
Any suggestions? If you need more examples I will happily provide them.
Is this behaviour known? Do I use the tools in a wrong way?
Best regards,
Sven
If there are not enough items in this columns, I want them to have a min height.
The float column-top and column-bottm seem not to work as intended when the min height is right before the div with the columns.
<div style="columns: 2">
<div style="min-height:500px">
<div style="float: column-top; border: solid red thin">
Float
</div>
<p>
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
</p>
</div>
</div>
The result is the attached pdf file. The floating column floats to the right column
If i change the html like this, the float is correct but the min-height wont work.
<div style="columns: 2; min-height:500px">
<div style="float: column-top; border: solid red thin">
Float
</div>
<p>
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
Some column text.
</p>
</div>
Any suggestions? If you need more examples I will happily provide them.
Is this behaviour known? Do I use the tools in a wrong way?
Best regards,
Sven