Forum Bugs

Column-span

katata
Hi mike,

I am trying to use this element, column-span, however it not working how I thought.
This is my html:

<body>
<div style="column-count: 2;">
<div style="color: blue">
<p>Bl absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf</p>
</div>
<div style="color: red">
<p>Bl absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf</p>
</div>
</div>
</body>


Works fine, but if I generate pdf of this:

<body>
<div style="column-count: 2;">
<div style="color: blue">
<p>Bl absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf</p>
</div>
<div style="color: red">
<p style="column-span: all;">Teste Teste Teste Teste Teste Teste Teste Teste Teste Teste Teste Teste Teste Teste Teste Teste **</p>
<p>Bl absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf sgsa h hoq'wejnq apco cjshue nalkd fha absdf</p>
</div>
</div>
</body>


It just generate the second div.
Is there any problem in my html ?
Thank you.
mikeday
This is caused by a bug in Prince, where the element that spans columns has to be a direct child of the element that made the columns. We will be releasing a fix for this shortly.
katata
Could you notify me when you fix this bug ? Reply this topic or send an e-mail to me.

Thank you.
mikeday
Certainly, which operating system are you running Prince on?
katata
Ubuntu 12.04
mikeday
We now have updated Prince packages for Ubuntu 12.04 available for download.