Hi Magnus
You can use the break-after CSS rule to control where column breaks occur:
https://developer.mozilla.org/en-US/docs/Web/CSS/break-after
http://kmsm.ca/2010/an-almost-complete-guide-to-css3-multi-column-layouts/
In this example, something like this should work:
body.tw-body h1, h2, h3,
On Thursday, November 21, 2013 1:52:49 PM UTC+1, Jeremy Ruston wrote:
>
> Hi Magnus
>
> You can use the break-after CSS rule to control where column breaks occur:
>
> https://developer.mozilla.org/en-US/docs/Web/CSS/break-after
> http://kmsm.ca/2010/an-almost-complete-guide-to-css3-multi-column-lay
On Thu, Nov 21, 2013 at 12:54 PM, David Gifford wrote:
> oooh thanks for that rule, Jeremy, I have never seen that before.
>
Nor me, but I hoped it might be there somewhere. Even better, did you see
that you can also have content that spans columns?
Best wishes
Jeremy
>
>
> On Thu, Nov 21,
oooh thanks for that rule, Jeremy, I have never seen that before.
On Thu, Nov 21, 2013 at 6:52 AM, Jeremy Ruston wrote:
> Hi Magnus
>
> You can use the break-after CSS rule to control where column breaks occur:
>
> https://developer.mozilla.org/en-US/docs/Web/CSS/break-after
> http://kmsm.ca/201
> body.tw-body h1, h2, h3, h4 {
>> -webkit-column-break-before:avoid;
>> -moz-column-break-before:avoid;
>> column-break-before:avoid;
>> }
>>
>
> shouldn't it be coloumn-break-after : avoid. So it should not break after
> a header, but before?
>
Doh, yes, thank you Mario,
Best wishes
5 matches
Mail list logo