Forum How do I...?

float top & float column top

somnath
Hi,

I have a div container which is floated at the top of the page and has two columns. Within this container I have an image which needs to be floated at the top of the column. The code looks like this...

<div style="float: top; column-count: 2; column-gap: 12pt;">
<p>Some Text....</p>
<p>Some Text....</p>
<div style="float: prince-column-top;"><img src="col-top-image.jpg" alt="" /></div>
<p>Some Text....</p>
<p>Some Text....</p>
</div>


The problem I have is the col-top-image does not float to the top of the column but floats at the top of next page. When I remove "float: top" of the main div container then the image is happy to float at the column top position.

Is it that column float is not supported inside float top container?


Somnath
mikeday
Sounds like a bug, we'll look into this. :)
mikeday
This was a bug affecting column floats and footnotes inside other floats, inline blocks, positioned blocks, and table cells. We have fixed this issue in Prince 8.0, which is available now. Thanks for letting us know. :)